2026-04-10 19:25:45,817 [ 200593 ] INFO : ClickHouse root is not set. Will use /home/ubuntu/_work/ClickHouse/ClickHouse (runner:53, check_args_and_update_paths) 2026-04-10 19:25:45,817 [ 200593 ] INFO : Cases dir is not set. Will use /home/ubuntu/_work/ClickHouse/ClickHouse/tests/integration (runner:79, check_args_and_update_paths) 2026-04-10 19:25:45,817 [ 200593 ] INFO : utils dir is not set. Will use /home/ubuntu/_work/ClickHouse/ClickHouse/utils (runner:90, check_args_and_update_paths) 2026-04-10 19:25:45,818 [ 200593 ] INFO : base_configs_dir: /home/ubuntu/_work/ClickHouse/ClickHouse/programs/server, binary: /home/ubuntu/_work/_temp/test/build/clickhouse, cases_dir: /home/ubuntu/_work/ClickHouse/ClickHouse/tests/integration (runner:92, check_args_and_update_paths) clickhouse_integration_tests_volume Running pytest container as: 'docker run --rm --name clickhouse_integration_tests_wurdh8 --privileged --dns-search='.' --memory=30709030912 --security-opt seccomp=unconfined --cap-add=SYS_PTRACE --volume=/home/ubuntu/_work/_temp/test/build/clickhouse:/clickhouse --volume=/home/ubuntu/_work/ClickHouse/ClickHouse/programs/server:/clickhouse-config --volume=/home/ubuntu/_work/ClickHouse/ClickHouse/tests/integration:/ClickHouse/tests/integration --volume=/home/ubuntu/_work/ClickHouse/ClickHouse/utils/backupview:/ClickHouse/utils/backupview --volume=/home/ubuntu/_work/ClickHouse/ClickHouse/utils/grpc-client/pb2:/ClickHouse/utils/grpc-client/pb2 --volume=/run:/run/host:ro --volume=clickhouse_integration_tests_volume:/var/lib/docker -e DOCKER_DOTNET_CLIENT_TAG=11de0b29a15d -e DOCKER_HELPER_TAG=5dc43a6382f0 -e DOCKER_BASE_TAG=5ccda723c1fc -e DOCKER_KERBEROS_KDC_TAG=9391ecdee8d7 -e DOCKER_MYSQL_GOLANG_CLIENT_TAG=9bec2a638e6e -e DOCKER_MYSQL_JAVA_CLIENT_TAG=766bff31cfe4 -e DOCKER_MYSQL_JS_CLIENT_TAG=41ba7c2ec2a1 -e DOCKER_MYSQL_PHP_CLIENT_TAG=88be89c1e3b6 -e DOCKER_NGINX_DAV_TAG=b55ac9cd7519 -e DOCKER_POSTGRESQL_JAVA_CLIENT_TAG=a4eff5c7f4d6 -e DOCKER_PYTHON_BOTTLE_TAG=d862517635bf -e DOCKER_CLIENT_TIMEOUT=300 -e COMPOSE_HTTP_TIMEOUT=600 -e PYTHONUNBUFFERED=1 -e PYTEST_ADDOPTS="--dist=loadfile -n 10 -rfEps --run-id=1 --color=no --durations=0 --report-log=parallel0_1.jsonl --report-log-exclude-logs-on-passed-tests test_attach_partition_using_copy/test.py::test_all_replicated test_attach_partition_using_copy/test.py::test_both_mergetree test_attach_partition_using_copy/test.py::test_not_work_on_different_disk test_attach_partition_using_copy/test.py::test_only_destination_replicated 'test_cow_policy/test.py::test_cow_policy[cow_policy_multi_disk]' 'test_cow_policy/test.py::test_cow_policy[cow_policy_multi_volume]' -vvv " altinityinfra/integration-tests-runner:226bfaf75ac1 '. Start tests ============================= test session starts ============================== platform linux -- Python 3.10.12, pytest-7.4.4, pluggy-1.5.0 -- /usr/bin/python3 cachedir: .pytest_cache Test order randomisation NOT enabled. Enable with --random-order or --random-order-bucket= rootdir: /ClickHouse/tests/integration configfile: pytest.ini plugins: timeout-2.3.1, repeat-0.9.3, order-1.0.0, reportlog-0.4.0, xdist-3.5.0, random-order-1.1.1 timeout: 900.0s timeout method: signal timeout func_only: False created: 10/10 workers 10 workers [6 items] scheduling tests via LoadFileScheduling test_cow_policy/test.py::test_cow_policy[cow_policy_multi_disk] test_attach_partition_using_copy/test.py::test_all_replicated [gw1] [ 16%] FAILED test_cow_policy/test.py::test_cow_policy[cow_policy_multi_disk] test_cow_policy/test.py::test_cow_policy[cow_policy_multi_volume] [gw0] [ 33%] FAILED test_attach_partition_using_copy/test.py::test_all_replicated test_attach_partition_using_copy/test.py::test_both_mergetree [gw0] [ 50%] FAILED test_attach_partition_using_copy/test.py::test_both_mergetree test_attach_partition_using_copy/test.py::test_not_work_on_different_disk [gw1] [ 66%] FAILED test_cow_policy/test.py::test_cow_policy[cow_policy_multi_volume] [gw0] [ 83%] FAILED test_attach_partition_using_copy/test.py::test_not_work_on_different_disk test_attach_partition_using_copy/test.py::test_only_destination_replicated [gw0] [100%] FAILED test_attach_partition_using_copy/test.py::test_only_destination_replicated =================================== FAILURES =================================== ____________________ test_cow_policy[cow_policy_multi_disk] ____________________ [gw1] linux -- Python 3.10.12 /usr/bin/python3 start_cluster = storage_policy = 'cow_policy_multi_disk' @pytest.mark.parametrize("storage_policy", ["cow_policy_multi_disk", "cow_policy_multi_volume"]) def test_cow_policy(start_cluster, storage_policy): try: > node.query_with_retry( f""" ATTACH TABLE uk_price_paid UUID 'cf712b4f-2ca8-435c-ac23-c4393efe52f7' ( price UInt32, date Date, postcode1 LowCardinality(String), postcode2 LowCardinality(String), type Enum8('other' = 0, 'terraced' = 1, 'semi-detached' = 2, 'detached' = 3, 'flat' = 4), is_new UInt8, duration Enum8('unknown' = 0, 'freehold' = 1, 'leasehold' = 2), addr1 String, addr2 String, street LowCardinality(String), locality LowCardinality(String), town LowCardinality(String), district LowCardinality(String), county LowCardinality(String) ) ENGINE = MergeTree ORDER BY (postcode1, postcode2, addr1, addr2) SETTINGS storage_policy = '{storage_policy}' """, timeout=60, retry_count=3, ) test_cow_policy/test.py:24: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = sql = "\n ATTACH TABLE uk_price_paid UUID 'cf712b4f-2ca8-435c-ac23-c4393efe52f7'\n (\n ...R BY (postcode1, postcode2, addr1, addr2)\n SETTINGS storage_policy = 'cow_policy_multi_disk'\n " stdin = None, timeout = 60, settings = None, user = None, password = None database = None, host = None, ignore_error = False, retry_count = 3 sleep_time = 0.5 check_callback = at 0x7f479fe3c040> parse = False def query_with_retry( self, sql, stdin=None, timeout=None, settings=None, user=None, password=None, database=None, host=None, ignore_error=False, retry_count=20, sleep_time=0.5, check_callback=lambda x: True, parse=False, ): # logging.debug(f"Executing query {sql} on {self.name}") result = None exception_msg = "" for i in range(retry_count): try: result = self.query( sql, stdin=stdin, timeout=timeout, settings=settings, user=user, password=password, database=database, host=host, ignore_error=ignore_error, parse=parse, ) if check_callback(result): return result time.sleep(sleep_time) except QueryRuntimeException as ex: exception_msg = f"{type(ex).__name__}: {str(ex)}" # Container is down, this is likely due to server crash. if "No route to host" in str(ex): raise time.sleep(sleep_time) except Exception as ex: # logging.debug("Retry {} got exception {}".format(i + 1, ex)) exception_msg = f"{type(ex).__name__}: {str(ex)}" time.sleep(sleep_time) if result is not None: return result > raise Exception(f"Can't execute query {sql}\n{exception_msg}") E Exception: Can't execute query E ATTACH TABLE uk_price_paid UUID 'cf712b4f-2ca8-435c-ac23-c4393efe52f7' E ( E price UInt32, E date Date, E postcode1 LowCardinality(String), E postcode2 LowCardinality(String), E type Enum8('other' = 0, 'terraced' = 1, 'semi-detached' = 2, 'detached' = 3, 'flat' = 4), E is_new UInt8, E duration Enum8('unknown' = 0, 'freehold' = 1, 'leasehold' = 2), E addr1 String, E addr2 String, E street LowCardinality(String), E locality LowCardinality(String), E town LowCardinality(String), E district LowCardinality(String), E county LowCardinality(String) E ) E ENGINE = MergeTree E ORDER BY (postcode1, postcode2, addr1, addr2) E SETTINGS storage_policy = 'cow_policy_multi_disk' E E QueryRuntimeException: Client failed! Return code: 198, stderr: Received exception from server (version 25.3.8): E Code: 198. DB::Exception: Received from 172.16.2.2:9000. DB::NetException. DB::NetException: Not found address of host: raw.githubusercontent.com: while loading disk metadata. Stack trace: E E 0. DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000d7ed77b E 1. DB::NetException::NetException(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000d7c25c4 E 2. DB::(anonymous namespace)::hostByName(String const&) @ 0x000000000d7c4104 E 3. DB::DNSResolver::getResolvedIPAdressessWithFiltering(String const&) @ 0x000000000d7c1fb2 E 4. DB::DNSResolver::resolveIPAddressWithCache(String const&) @ 0x000000000d7c317a E 5. std::vector> std::__function::__policy_invoker> (String const&)>::__call_impl[abi:ne190107]> (String const&)>>(std::__function::__policy_storage const*, String const&) @ 0x000000000db7fa16 E 6. DB::HostResolver::update() @ 0x000000000db7aa4c E 7. DB::HostResolver::HostResolver(String, Poco::Timespan) @ 0x000000000db7a8e9 E 8. std::shared_ptr DB::HostResolver::create(String const&)::make_shared_enabler::make_shared_enabler(String const&) @ 0x000000000db7ff8d E 9. std::shared_ptr DB::HostResolver::create(String const&)::make_shared_enabler> std::allocate_shared[abi:ne190107] DB::HostResolver::create(String const&)::make_shared_enabler, std::allocator DB::HostResolver::create(String const&)::make_shared_enabler>, String const&, 0>(std::allocator DB::HostResolver::create(String const&)::make_shared_enabler> const&, String const&) @ 0x000000000db7fdf2 E 10. DB::HostResolversPool::getResolver(String const&) @ 0x000000000db7c8f3 E 11. DB::EndpointConnectionPool::getConnection(DB::ConnectionTimeouts const&, unsigned long*) @ 0x000000000db708d5 E 12. DB::makeHTTPSession(DB::HTTPConnectionGroupType, Poco::URI const&, DB::ConnectionTimeouts const&, DB::ProxyConfiguration const&, unsigned long*) @ 0x000000000db89996 E 13. DB::ReadWriteBufferFromHTTP::callImpl(Poco::Net::HTTPResponse&, String const&, std::optional const&, bool) const @ 0x000000000f6367bc E 14. DB::ReadWriteBufferFromHTTP::callWithRedirects(Poco::Net::HTTPResponse&, String const&, std::optional const&) @ 0x000000000f636bfa E 15. void std::__function::__policy_invoker::__call_impl[abi:ne190107]>(std::__function::__policy_storage const*) @ 0x000000000f63ae0c E 16. DB::ReadWriteBufferFromHTTP::doWithRetries(std::function&&, std::function, bool) const @ 0x000000000f633f1b E 17. DB::ReadWriteBufferFromHTTP::nextImpl() @ 0x000000000f638a7f E 18. DB::WebObjectStorage::loadFiles(String const&, std::unique_lock const&) const @ 0x0000000010f41405 E 19. DB::WebObjectStorage::tryGetFileInfo(String const&) const @ 0x0000000010f45003 E 20. DB::WebObjectStorage::tryGetFileInfo(String const&) const @ 0x0000000010f44bc7 E 21. DB::MetadataStorageFromStaticFilesWebServer::getStorageObjectsIfExist(String const&) const @ 0x0000000010f3ebfe E 22. DB::DiskObjectStorage::readFileIfExists(String const&, DB::ReadSettings const&, std::optional, std::optional) const @ 0x0000000010ed6790 E 23. DB::MergeTreeData::initializeDirectoriesAndFormatVersion(String const&, bool, String const&, bool) @ 0x00000000128fc126 E 24. DB::StorageMergeTree::StorageMergeTree(DB::StorageID const&, String const&, DB::StorageInMemoryMetadata const&, DB::LoadingStrictnessLevel, std::shared_ptr, String const&, DB::MergeTreeData::MergingParams const&, std::unique_ptr>) @ 0x0000000012cc84a8 E 25. DB::create(DB::StorageFactory::Arguments const&) @ 0x0000000012cc4ccc E 26. DB::StorageFactory::get(DB::ASTCreateQuery const&, String const&, std::shared_ptr, std::shared_ptr, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, DB::LoadingStrictnessLevel, bool) const @ 0x00000000122c781b E 27. DB::InterpreterCreateQuery::doCreateTable(DB::ASTCreateQuery&, DB::InterpreterCreateQuery::TableProperties const&, std::unique_ptr>&, DB::LoadingStrictnessLevel) @ 0x000000001187aa00 E 28. DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x000000001186f6c2 E 29. DB::InterpreterCreateQuery::execute() @ 0x0000000011882c18 E 30. DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*, std::shared_ptr&) @ 0x0000000011cadfab E 31. DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x0000000011ca89c4 E . (DNS_ERROR) E (query: ATTACH TABLE uk_price_paid UUID 'cf712b4f-2ca8-435c-ac23-c4393efe52f7' E ( E price UInt32, E date Date, E postcode1 LowCardinality(String), E postcode2 LowCardinality(String), E type Enum8('other' = 0, 'terraced' = 1, 'semi-detached' = 2, 'detached' = 3, 'flat' = 4), E is_new UInt8, E duration Enum8('unknown' = 0, 'freehold' = 1, 'leasehold' = 2), E addr1 String, E addr2 String, E street LowCardinality(String), E locality LowCardinality(String), E town LowCardinality(String), E district LowCardinality(String), E county LowCardinality(String) E ) E ENGINE = MergeTree E ORDER BY (postcode1, postcode2, addr1, addr2) E SETTINGS storage_policy = 'cow_policy_multi_disk' E ) helpers/cluster.py:3722: Exception ---------------------------- Captured stdout setup ----------------------------- Copy common default production configuration from /clickhouse-config. Files: config.xml, users.xml ------------------------------ Captured log setup ------------------------------ 2026-04-10 19:25:53.860000 [ 580 ] DEBUG : Command:[docker ps | wc -l] (cluster.py:121, run_and_check) 2026-04-10 19:25:53.884000 [ 580 ] DEBUG : Stdout:1 (cluster.py:145, run_and_check) 2026-04-10 19:25:53.884000 [ 580 ] DEBUG : No running containers (conftest.py:95, cleanup_environment) 2026-04-10 19:25:53.884000 [ 580 ] DEBUG : Pruning Docker networks (conftest.py:97, cleanup_environment) 2026-04-10 19:25:53.885000 [ 580 ] DEBUG : Command:[docker network prune --force] (cluster.py:121, run_and_check) 2026-04-10 19:25:53.909000 [ 580 ] DEBUG : Command:[sysctl net.ipv4.ip_local_port_range='55000 65535'] (cluster.py:121, run_and_check) 2026-04-10 19:25:53.911000 [ 580 ] DEBUG : Stdout:net.ipv4.ip_local_port_range = 55000 65535 (cluster.py:145, run_and_check) 2026-04-10 19:25:53.912000 [ 580 ] INFO : Running tests in /ClickHouse/tests/integration/test_cow_policy/test.py (cluster.py:2748, start) 2026-04-10 19:25:53.912000 [ 580 ] DEBUG : Cluster start called. is_up=False (cluster.py:2755, start) 2026-04-10 19:25:53.934000 [ 580 ] DEBUG : Docker networks for project roottestcowpolicy-gw1 are NETWORK ID NAME DRIVER SCOPE (cluster.py:840, print_all_docker_pieces) 2026-04-10 19:25:53.955000 [ 580 ] DEBUG : Docker containers for project roottestcowpolicy-gw1 are CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES (cluster.py:848, print_all_docker_pieces) 2026-04-10 19:25:53.976000 [ 580 ] DEBUG : Docker volumes for project roottestcowpolicy-gw1 are DRIVER VOLUME NAME (cluster.py:856, print_all_docker_pieces) 2026-04-10 19:25:53.976000 [ 580 ] DEBUG : Cleanup called (cluster.py:861, cleanup) 2026-04-10 19:25:54.000000 [ 580 ] DEBUG : Docker networks for project roottestcowpolicy-gw1 are NETWORK ID NAME DRIVER SCOPE (cluster.py:840, print_all_docker_pieces) 2026-04-10 19:25:54.023000 [ 580 ] DEBUG : Docker containers for project roottestcowpolicy-gw1 are CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES (cluster.py:848, print_all_docker_pieces) 2026-04-10 19:25:54.048000 [ 580 ] DEBUG : Docker volumes for project roottestcowpolicy-gw1 are DRIVER VOLUME NAME (cluster.py:856, print_all_docker_pieces) 2026-04-10 19:25:54.048000 [ 580 ] DEBUG : Command:[docker container list --all --filter name='^/roottestcowpolicy-gw1-.*-1$' --format '{{.ID}}:{{.Names}}'] (cluster.py:121, run_and_check) 2026-04-10 19:25:54.076000 [ 580 ] DEBUG : Unstopped containers: {} (cluster.py:875, cleanup) 2026-04-10 19:25:54.076000 [ 580 ] DEBUG : No running containers for project: roottestcowpolicy-gw1 (cluster.py:889, cleanup) 2026-04-10 19:25:54.076000 [ 580 ] DEBUG : Trying to prune unused networks... (cluster.py:895, cleanup) 2026-04-10 19:25:54.101000 [ 580 ] DEBUG : Trying to prune unused images... (cluster.py:911, cleanup) 2026-04-10 19:25:54.101000 [ 580 ] DEBUG : Command:[docker image prune -f] (cluster.py:121, run_and_check) 2026-04-10 19:25:54.129000 [ 580 ] DEBUG : Stdout:Total reclaimed space: 0B (cluster.py:145, run_and_check) 2026-04-10 19:25:54.129000 [ 580 ] DEBUG : Images pruned (cluster.py:914, cleanup) 2026-04-10 19:25:54.129000 [ 580 ] DEBUG : Trying to prune unused volumes... (cluster.py:920, cleanup) 2026-04-10 19:25:54.129000 [ 580 ] DEBUG : Command:[docker volume ls | wc -l] (cluster.py:121, run_and_check) 2026-04-10 19:25:54.149000 [ 580 ] DEBUG : Stdout:1 (cluster.py:145, run_and_check) 2026-04-10 19:25:54.150000 [ 580 ] DEBUG : Volumes pruned: 1 (cluster.py:925, cleanup) 2026-04-10 19:25:54.150000 [ 580 ] DEBUG : Setup directory for instance: node (cluster.py:2768, start) 2026-04-10 19:25:54.151000 [ 580 ] DEBUG : Create directory for configuration generated in this helper (cluster.py:4638, create_dir) 2026-04-10 19:25:54.151000 [ 580 ] DEBUG : Create directory for common tests configuration (cluster.py:4643, create_dir) 2026-04-10 19:25:54.151000 [ 580 ] DEBUG : Copy common configuration from helpers (cluster.py:4663, create_dir) 2026-04-10 19:25:54.152000 [ 580 ] DEBUG : Generate and write macros file (cluster.py:4715, create_dir) 2026-04-10 19:25:54.152000 [ 580 ] DEBUG : Copy custom test config files ['/ClickHouse/tests/integration/test_cow_policy/configs/overrides.yaml'] to /ClickHouse/tests/integration/test_cow_policy/_instances-1-gw1/node/configs/config.d (cluster.py:4755, create_dir) 2026-04-10 19:25:54.153000 [ 580 ] DEBUG : Setup database dir /ClickHouse/tests/integration/test_cow_policy/_instances-1-gw1/node/database (cluster.py:4772, create_dir) 2026-04-10 19:25:54.153000 [ 580 ] DEBUG : Setup logs dir /ClickHouse/tests/integration/test_cow_policy/_instances-1-gw1/node/logs (cluster.py:4783, create_dir) 2026-04-10 19:25:54.153000 [ 580 ] DEBUG : Entrypoint cmd: ["clickhouse", "server", "--config-file=/etc/clickhouse-server/config.xml", "--log-file=/var/log/clickhouse-server/clickhouse-server.log", "--errorlog-file=/var/log/clickhouse-server/clickhouse-server.err.log", "--"] (cluster.py:4864, create_dir) 2026-04-10 19:25:54.153000 [ 580 ] DEBUG : Env {'ASAN_OPTIONS': 'use_sigaltstack=0', 'TSAN_OPTIONS': 'use_sigaltstack=0', 'LSAN_OPTIONS': 'suppressions=/etc/clickhouse-server/lsan_suppressions.txt', 'CLICKHOUSE_WATCHDOG_ENABLE': '0', 'CLICKHOUSE_NATS_TLS_SECURE': '0', 'LLVM_PROFILE_FILE': '/var/lib/clickhouse/server_%h_%p_%m.profraw'} stored in /ClickHouse/tests/integration/test_cow_policy/_instances-1-gw1/.env (cluster.py:96, _create_env_file) 2026-04-10 19:25:54.154000 [ 580 ] DEBUG : Trying paths: ['/root/.docker/config.json', '/root/.dockercfg'] (config.py:21, find_config_file) 2026-04-10 19:25:54.154000 [ 580 ] DEBUG : No config file found (config.py:28, find_config_file) 2026-04-10 19:25:54.154000 [ 580 ] DEBUG : Trying paths: ['/root/.docker/config.json', '/root/.dockercfg'] (config.py:21, find_config_file) 2026-04-10 19:25:54.154000 [ 580 ] DEBUG : No config file found (config.py:28, find_config_file) 2026-04-10 19:25:54.163000 [ 580 ] DEBUG : http://localhost:None "GET /version HTTP/1.1" 200 826 (connectionpool.py:547, _make_request) 2026-04-10 19:25:54.164000 [ 580 ] DEBUG : Command:[docker compose --env-file /ClickHouse/tests/integration/test_cow_policy/_instances-1-gw1/.env --project-name roottestcowpolicy-gw1 --file /ClickHouse/tests/integration/test_cow_policy/_instances-1-gw1/node/docker-compose.yml pull] (cluster.py:121, run_and_check) 2026-04-10 19:26:04.633000 [ 580 ] DEBUG : Stderr: node Pulling (cluster.py:147, run_and_check) 2026-04-10 19:26:04.633000 [ 580 ] DEBUG : Stderr: node Pulled (cluster.py:147, run_and_check) 2026-04-10 19:26:04.634000 [ 580 ] DEBUG : ('Trying to create ClickHouse instance by command %s', 'docker compose --env-file /ClickHouse/tests/integration/test_cow_policy/_instances-1-gw1/.env --project-name roottestcowpolicy-gw1 --file /ClickHouse/tests/integration/test_cow_policy/_instances-1-gw1/node/docker-compose.yml up -d --no-recreate') (cluster.py:3149, start) 2026-04-10 19:26:04.634000 [ 580 ] DEBUG : Command:[docker compose --env-file /ClickHouse/tests/integration/test_cow_policy/_instances-1-gw1/.env --project-name roottestcowpolicy-gw1 --file /ClickHouse/tests/integration/test_cow_policy/_instances-1-gw1/node/docker-compose.yml up -d --no-recreate] (cluster.py:121, run_and_check) 2026-04-10 19:26:05.410000 [ 580 ] DEBUG : Stderr: Network roottestcowpolicy-gw1_default Creating (cluster.py:147, run_and_check) 2026-04-10 19:26:05.410000 [ 580 ] DEBUG : Stderr: Network roottestcowpolicy-gw1_default Created (cluster.py:147, run_and_check) 2026-04-10 19:26:05.410000 [ 580 ] DEBUG : Stderr: Container roottestcowpolicy-gw1-node-1 Creating (cluster.py:147, run_and_check) 2026-04-10 19:26:05.410000 [ 580 ] DEBUG : Stderr: Container roottestcowpolicy-gw1-node-1 Created (cluster.py:147, run_and_check) 2026-04-10 19:26:05.410000 [ 580 ] DEBUG : Stderr: Container roottestcowpolicy-gw1-node-1 Starting (cluster.py:147, run_and_check) 2026-04-10 19:26:05.410000 [ 580 ] DEBUG : Stderr: Container roottestcowpolicy-gw1-node-1 Started (cluster.py:147, run_and_check) 2026-04-10 19:26:05.410000 [ 580 ] DEBUG : ClickHouse instance created (cluster.py:3157, start) 2026-04-10 19:26:05.411000 [ 580 ] DEBUG : get_instance_ip instance_name=node (cluster.py:2015, get_instance_ip) 2026-04-10 19:26:05.414000 [ 580 ] DEBUG : http://localhost:None "GET /v1.46/containers/roottestcowpolicy-gw1-node-1/json HTTP/1.1" 200 None (connectionpool.py:547, _make_request) 2026-04-10 19:26:05.414000 [ 580 ] DEBUG : get_instance_ip instance_name=node (cluster.py:2025, get_instance_global_ipv6) 2026-04-10 19:26:05.417000 [ 580 ] DEBUG : http://localhost:None "GET /v1.46/containers/roottestcowpolicy-gw1-node-1/json HTTP/1.1" 200 None (connectionpool.py:547, _make_request) 2026-04-10 19:26:05.417000 [ 580 ] DEBUG : Waiting for ClickHouse start in node, ip: 172.16.2.2... (cluster.py:3165, start) 2026-04-10 19:26:05.419000 [ 580 ] DEBUG : http://localhost:None "GET /v1.46/containers/roottestcowpolicy-gw1-node-1/json HTTP/1.1" 200 None (connectionpool.py:547, _make_request) 2026-04-10 19:26:05.422000 [ 580 ] DEBUG : http://localhost:None "GET /v1.46/containers/4fc360e3fd3002694a8e578566c55f814c2c63542d89980a50c5ff96cd12534e/json HTTP/1.1" 200 None (connectionpool.py:547, _make_request) 2026-04-10 19:26:05.526000 [ 580 ] DEBUG : http://localhost:None "GET /v1.46/containers/4fc360e3fd3002694a8e578566c55f814c2c63542d89980a50c5ff96cd12534e/json HTTP/1.1" 200 None (connectionpool.py:547, _make_request) 2026-04-10 19:26:05.630000 [ 580 ] DEBUG : http://localhost:None "GET /v1.46/containers/4fc360e3fd3002694a8e578566c55f814c2c63542d89980a50c5ff96cd12534e/json HTTP/1.1" 200 None (connectionpool.py:547, _make_request) 2026-04-10 19:26:05.734000 [ 580 ] DEBUG : http://localhost:None "GET /v1.46/containers/4fc360e3fd3002694a8e578566c55f814c2c63542d89980a50c5ff96cd12534e/json HTTP/1.1" 200 None (connectionpool.py:547, _make_request) 2026-04-10 19:26:05.838000 [ 580 ] DEBUG : http://localhost:None "GET /v1.46/containers/4fc360e3fd3002694a8e578566c55f814c2c63542d89980a50c5ff96cd12534e/json HTTP/1.1" 200 None (connectionpool.py:547, _make_request) 2026-04-10 19:26:05.943000 [ 580 ] DEBUG : http://localhost:None "GET /v1.46/containers/4fc360e3fd3002694a8e578566c55f814c2c63542d89980a50c5ff96cd12534e/json HTTP/1.1" 200 None (connectionpool.py:547, _make_request) 2026-04-10 19:26:06.048000 [ 580 ] DEBUG : http://localhost:None "GET /v1.46/containers/4fc360e3fd3002694a8e578566c55f814c2c63542d89980a50c5ff96cd12534e/json HTTP/1.1" 200 None (connectionpool.py:547, _make_request) 2026-04-10 19:26:06.049000 [ 580 ] DEBUG : ClickHouse node started (cluster.py:3169, start) ------------------------------ Captured log call ------------------------------- 2026-04-10 19:26:06.054000 [ 580 ] DEBUG : Executing query ATTACH TABLE uk_price_paid UUID 'cf712b4f-2ca8-435c-ac23-c4393efe52f7' ( price UInt32, date Date, postcode1 LowCardinality(String), postcode2 LowCardinality(String), type Enum8('other' = 0, 'terraced' = 1, 'semi-detached' = 2, 'detached' = 3, 'flat' = 4), is_new UInt8, duration Enum8('unknown' = 0, 'freehold' = 1, 'leasehold' = 2), addr1 String, addr2 String, street LowCardinality(String), locality LowCardinality(String), town LowCardinality(String), district LowCardinality(String), county LowCardinality(String) ) ENGINE = MergeTree ORDER BY (postcode1, postcode2, addr1, addr2) SETTINGS storage_policy = 'cow_policy_multi_disk' on node (cluster.py:3658, query) 2026-04-10 19:26:59.784000 [ 580 ] DEBUG : Executing query ATTACH TABLE uk_price_paid UUID 'cf712b4f-2ca8-435c-ac23-c4393efe52f7' ( price UInt32, date Date, postcode1 LowCardinality(String), postcode2 LowCardinality(String), type Enum8('other' = 0, 'terraced' = 1, 'semi-detached' = 2, 'detached' = 3, 'flat' = 4), is_new UInt8, duration Enum8('unknown' = 0, 'freehold' = 1, 'leasehold' = 2), addr1 String, addr2 String, street LowCardinality(String), locality LowCardinality(String), town LowCardinality(String), district LowCardinality(String), county LowCardinality(String) ) ENGINE = MergeTree ORDER BY (postcode1, postcode2, addr1, addr2) SETTINGS storage_policy = 'cow_policy_multi_disk' on node (cluster.py:3658, query) 2026-04-10 19:27:54.399000 [ 580 ] DEBUG : Executing query ATTACH TABLE uk_price_paid UUID 'cf712b4f-2ca8-435c-ac23-c4393efe52f7' ( price UInt32, date Date, postcode1 LowCardinality(String), postcode2 LowCardinality(String), type Enum8('other' = 0, 'terraced' = 1, 'semi-detached' = 2, 'detached' = 3, 'flat' = 4), is_new UInt8, duration Enum8('unknown' = 0, 'freehold' = 1, 'leasehold' = 2), addr1 String, addr2 String, street LowCardinality(String), locality LowCardinality(String), town LowCardinality(String), district LowCardinality(String), county LowCardinality(String) ) ENGINE = MergeTree ORDER BY (postcode1, postcode2, addr1, addr2) SETTINGS storage_policy = 'cow_policy_multi_disk' on node (cluster.py:3658, query) 2026-04-10 19:28:49.590000 [ 580 ] DEBUG : Executing query DROP TABLE IF EXISTS uk_price_paid SYNC on node (cluster.py:3658, query) _____________________________ test_all_replicated ______________________________ [gw0] linux -- Python 3.10.12 /usr/bin/python3 start_cluster = def test_all_replicated(start_cluster): cleanup([replica1, replica2]) > create_source_table(replica1, "source", True) test_attach_partition_using_copy/test.py:128: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_attach_partition_using_copy/test.py:40: in create_source_table node.query_with_retry( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = sql = "\n ATTACH TABLE source UUID 'cf712b4f-2ca8-435c-ac23-c4393efe52f7'\n (\n price UInt32,\n ...disk = disk(type = web, endpoint = 'https://raw.githubusercontent.com/ClickHouse/web-tables-demo/main/web/')\n " stdin = None, timeout = 60, settings = None, user = None, password = None database = None, host = None, ignore_error = False, retry_count = 3 sleep_time = 0.5 check_callback = at 0x7fa5c825c040> parse = False def query_with_retry( self, sql, stdin=None, timeout=None, settings=None, user=None, password=None, database=None, host=None, ignore_error=False, retry_count=20, sleep_time=0.5, check_callback=lambda x: True, parse=False, ): # logging.debug(f"Executing query {sql} on {self.name}") result = None exception_msg = "" for i in range(retry_count): try: result = self.query( sql, stdin=stdin, timeout=timeout, settings=settings, user=user, password=password, database=database, host=host, ignore_error=ignore_error, parse=parse, ) if check_callback(result): return result time.sleep(sleep_time) except QueryRuntimeException as ex: exception_msg = f"{type(ex).__name__}: {str(ex)}" # Container is down, this is likely due to server crash. if "No route to host" in str(ex): raise time.sleep(sleep_time) except Exception as ex: # logging.debug("Retry {} got exception {}".format(i + 1, ex)) exception_msg = f"{type(ex).__name__}: {str(ex)}" time.sleep(sleep_time) if result is not None: return result > raise Exception(f"Can't execute query {sql}\n{exception_msg}") E Exception: Can't execute query E ATTACH TABLE source UUID 'cf712b4f-2ca8-435c-ac23-c4393efe52f7' E ( E price UInt32, E date Date, E postcode1 LowCardinality(String), E postcode2 LowCardinality(String), E type Enum8('other' = 0, 'terraced' = 1, 'semi-detached' = 2, 'detached' = 3, 'flat' = 4), E is_new UInt8, E duration Enum8('unknown' = 0, 'freehold' = 1, 'leasehold' = 2), E addr1 String, E addr2 String, E street LowCardinality(String), E locality LowCardinality(String), E town LowCardinality(String), E district LowCardinality(String), E county LowCardinality(String) E ) E ENGINE = ReplicatedMergeTree('/clickhouse/tables/1/source', 'replica1') E ORDER BY (postcode1, postcode2, addr1, addr2) E SETTINGS disk = disk(type = web, endpoint = 'https://raw.githubusercontent.com/ClickHouse/web-tables-demo/main/web/') E E QueryRuntimeException: Client failed! Return code: 198, stderr: Received exception from server (version 25.3.8): E Code: 198. DB::Exception: Received from 172.16.1.5:9000. DB::NetException. DB::NetException: Not found address of host: raw.githubusercontent.com: while loading disk metadata. Stack trace: E E 0. DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000d7ed77b E 1. DB::NetException::NetException(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000d7c25c4 E 2. DB::(anonymous namespace)::hostByName(String const&) @ 0x000000000d7c4104 E 3. DB::DNSResolver::getResolvedIPAdressessWithFiltering(String const&) @ 0x000000000d7c1fb2 E 4. DB::DNSResolver::resolveIPAddressWithCache(String const&) @ 0x000000000d7c317a E 5. std::vector> std::__function::__policy_invoker> (String const&)>::__call_impl[abi:ne190107]> (String const&)>>(std::__function::__policy_storage const*, String const&) @ 0x000000000db7fa16 E 6. DB::HostResolver::update() @ 0x000000000db7aa4c E 7. DB::HostResolver::HostResolver(String, Poco::Timespan) @ 0x000000000db7a8e9 E 8. std::shared_ptr DB::HostResolver::create(String const&)::make_shared_enabler::make_shared_enabler(String const&) @ 0x000000000db7ff8d E 9. std::shared_ptr DB::HostResolver::create(String const&)::make_shared_enabler> std::allocate_shared[abi:ne190107] DB::HostResolver::create(String const&)::make_shared_enabler, std::allocator DB::HostResolver::create(String const&)::make_shared_enabler>, String const&, 0>(std::allocator DB::HostResolver::create(String const&)::make_shared_enabler> const&, String const&) @ 0x000000000db7fdf2 E 10. DB::HostResolversPool::getResolver(String const&) @ 0x000000000db7c8f3 E 11. DB::EndpointConnectionPool::getConnection(DB::ConnectionTimeouts const&, unsigned long*) @ 0x000000000db708d5 E 12. DB::makeHTTPSession(DB::HTTPConnectionGroupType, Poco::URI const&, DB::ConnectionTimeouts const&, DB::ProxyConfiguration const&, unsigned long*) @ 0x000000000db89996 E 13. DB::ReadWriteBufferFromHTTP::callImpl(Poco::Net::HTTPResponse&, String const&, std::optional const&, bool) const @ 0x000000000f6367bc E 14. DB::ReadWriteBufferFromHTTP::callWithRedirects(Poco::Net::HTTPResponse&, String const&, std::optional const&) @ 0x000000000f636bfa E 15. void std::__function::__policy_invoker::__call_impl[abi:ne190107]>(std::__function::__policy_storage const*) @ 0x000000000f63ae0c E 16. DB::ReadWriteBufferFromHTTP::doWithRetries(std::function&&, std::function, bool) const @ 0x000000000f633f1b E 17. DB::ReadWriteBufferFromHTTP::nextImpl() @ 0x000000000f638a7f E 18. DB::WebObjectStorage::loadFiles(String const&, std::unique_lock const&) const @ 0x0000000010f41405 E 19. DB::WebObjectStorage::tryGetFileInfo(String const&) const @ 0x0000000010f45003 E 20. DB::WebObjectStorage::tryGetFileInfo(String const&) const @ 0x0000000010f44bc7 E 21. DB::MetadataStorageFromStaticFilesWebServer::getStorageObjectsIfExist(String const&) const @ 0x0000000010f3ebfe E 22. DB::DiskObjectStorage::readFileIfExists(String const&, DB::ReadSettings const&, std::optional, std::optional) const @ 0x0000000010ed6790 E 23. DB::MergeTreeData::initializeDirectoriesAndFormatVersion(String const&, bool, String const&, bool) @ 0x00000000128fc126 E 24. DB::StorageReplicatedMergeTree::StorageReplicatedMergeTree(DB::TableZnodeInfo const&, DB::LoadingStrictnessLevel, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata const&, std::shared_ptr, String const&, DB::MergeTreeData::MergingParams const&, std::unique_ptr>, bool, DB::ZooKeeperRetriesInfo const&) @ 0x00000000123e525c E 25. DB::create(DB::StorageFactory::Arguments const&) @ 0x0000000012cc50fb E 26. DB::StorageFactory::get(DB::ASTCreateQuery const&, String const&, std::shared_ptr, std::shared_ptr, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, DB::LoadingStrictnessLevel, bool) const @ 0x00000000122c781b E 27. DB::InterpreterCreateQuery::doCreateTable(DB::ASTCreateQuery&, DB::InterpreterCreateQuery::TableProperties const&, std::unique_ptr>&, DB::LoadingStrictnessLevel) @ 0x000000001187aa00 E 28. DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x000000001186f6c2 E 29. DB::InterpreterCreateQuery::execute() @ 0x0000000011882c18 E 30. DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*, std::shared_ptr&) @ 0x0000000011cadfab E 31. DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x0000000011ca89c4 E . (DNS_ERROR) E (query: ATTACH TABLE source UUID 'cf712b4f-2ca8-435c-ac23-c4393efe52f7' E ( E price UInt32, E date Date, E postcode1 LowCardinality(String), E postcode2 LowCardinality(String), E type Enum8('other' = 0, 'terraced' = 1, 'semi-detached' = 2, 'detached' = 3, 'flat' = 4), E is_new UInt8, E duration Enum8('unknown' = 0, 'freehold' = 1, 'leasehold' = 2), E addr1 String, E addr2 String, E street LowCardinality(String), E locality LowCardinality(String), E town LowCardinality(String), E district LowCardinality(String), E county LowCardinality(String) E ) E ENGINE = ReplicatedMergeTree('/clickhouse/tables/1/source', 'replica1') E ORDER BY (postcode1, postcode2, addr1, addr2) E SETTINGS disk = disk(type = web, endpoint = 'https://raw.githubusercontent.com/ClickHouse/web-tables-demo/main/web/') E ) helpers/cluster.py:3722: Exception ---------------------------- Captured stdout setup ----------------------------- Copy common default production configuration from /clickhouse-config. Files: config.xml, users.xml Copy common default production configuration from /clickhouse-config. Files: config.xml, users.xml ------------------------------ Captured log setup ------------------------------ 2026-04-10 19:25:53.862000 [ 577 ] DEBUG : Command:[docker ps | wc -l] (cluster.py:121, run_and_check) 2026-04-10 19:25:53.885000 [ 577 ] DEBUG : Stdout:1 (cluster.py:145, run_and_check) 2026-04-10 19:25:53.885000 [ 577 ] DEBUG : No running containers (conftest.py:95, cleanup_environment) 2026-04-10 19:25:53.885000 [ 577 ] DEBUG : Pruning Docker networks (conftest.py:97, cleanup_environment) 2026-04-10 19:25:53.885000 [ 577 ] DEBUG : Command:[docker network prune --force] (cluster.py:121, run_and_check) 2026-04-10 19:25:53.910000 [ 577 ] DEBUG : Command:[sysctl net.ipv4.ip_local_port_range='55000 65535'] (cluster.py:121, run_and_check) 2026-04-10 19:25:53.912000 [ 577 ] DEBUG : Stdout:net.ipv4.ip_local_port_range = 55000 65535 (cluster.py:145, run_and_check) 2026-04-10 19:25:53.912000 [ 577 ] INFO : Running tests in /ClickHouse/tests/integration/test_attach_partition_using_copy/test.py (cluster.py:2748, start) 2026-04-10 19:25:53.913000 [ 577 ] DEBUG : Cluster start called. is_up=False (cluster.py:2755, start) 2026-04-10 19:25:53.934000 [ 577 ] DEBUG : Docker networks for project roottestattachpartitionusingcopy-gw0 are NETWORK ID NAME DRIVER SCOPE (cluster.py:840, print_all_docker_pieces) 2026-04-10 19:25:53.955000 [ 577 ] DEBUG : Docker containers for project roottestattachpartitionusingcopy-gw0 are CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES (cluster.py:848, print_all_docker_pieces) 2026-04-10 19:25:53.976000 [ 577 ] DEBUG : Docker volumes for project roottestattachpartitionusingcopy-gw0 are DRIVER VOLUME NAME (cluster.py:856, print_all_docker_pieces) 2026-04-10 19:25:53.977000 [ 577 ] DEBUG : Cleanup called (cluster.py:861, cleanup) 2026-04-10 19:25:54.001000 [ 577 ] DEBUG : Docker networks for project roottestattachpartitionusingcopy-gw0 are NETWORK ID NAME DRIVER SCOPE (cluster.py:840, print_all_docker_pieces) 2026-04-10 19:25:54.027000 [ 577 ] DEBUG : Docker containers for project roottestattachpartitionusingcopy-gw0 are CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES (cluster.py:848, print_all_docker_pieces) 2026-04-10 19:25:54.048000 [ 577 ] DEBUG : Docker volumes for project roottestattachpartitionusingcopy-gw0 are DRIVER VOLUME NAME (cluster.py:856, print_all_docker_pieces) 2026-04-10 19:25:54.049000 [ 577 ] DEBUG : Command:[docker container list --all --filter name='^/roottestattachpartitionusingcopy-gw0-.*-1$' --format '{{.ID}}:{{.Names}}'] (cluster.py:121, run_and_check) 2026-04-10 19:25:54.072000 [ 577 ] DEBUG : Unstopped containers: {} (cluster.py:875, cleanup) 2026-04-10 19:25:54.072000 [ 577 ] DEBUG : No running containers for project: roottestattachpartitionusingcopy-gw0 (cluster.py:889, cleanup) 2026-04-10 19:25:54.072000 [ 577 ] DEBUG : Trying to prune unused networks... (cluster.py:895, cleanup) 2026-04-10 19:25:54.098000 [ 577 ] DEBUG : Trying to prune unused images... (cluster.py:911, cleanup) 2026-04-10 19:25:54.099000 [ 577 ] DEBUG : Command:[docker image prune -f] (cluster.py:121, run_and_check) 2026-04-10 19:25:54.121000 [ 577 ] DEBUG : Stderr:Error response from daemon: a prune operation is already running (cluster.py:147, run_and_check) 2026-04-10 19:25:54.121000 [ 577 ] DEBUG : Exitcode:1 (cluster.py:149, run_and_check) 2026-04-10 19:25:54.122000 [ 577 ] DEBUG : Trying to prune unused volumes... (cluster.py:920, cleanup) 2026-04-10 19:25:54.122000 [ 577 ] DEBUG : Command:[docker volume ls | wc -l] (cluster.py:121, run_and_check) 2026-04-10 19:25:54.141000 [ 577 ] DEBUG : Stdout:1 (cluster.py:145, run_and_check) 2026-04-10 19:25:54.142000 [ 577 ] DEBUG : Volumes pruned: 1 (cluster.py:925, cleanup) 2026-04-10 19:25:54.142000 [ 577 ] DEBUG : Setup directory for instance: replica1 (cluster.py:2768, start) 2026-04-10 19:25:54.142000 [ 577 ] DEBUG : Create directory for configuration generated in this helper (cluster.py:4638, create_dir) 2026-04-10 19:25:54.142000 [ 577 ] DEBUG : Create directory for common tests configuration (cluster.py:4643, create_dir) 2026-04-10 19:25:54.142000 [ 577 ] DEBUG : Copy common configuration from helpers (cluster.py:4663, create_dir) 2026-04-10 19:25:54.143000 [ 577 ] DEBUG : Generate and write macros file (cluster.py:4715, create_dir) 2026-04-10 19:25:54.144000 [ 577 ] DEBUG : Copy custom test config files ['/ClickHouse/tests/integration/test_attach_partition_using_copy/configs/remote_servers.xml'] to /ClickHouse/tests/integration/test_attach_partition_using_copy/_instances-1-gw0/replica1/configs/config.d (cluster.py:4755, create_dir) 2026-04-10 19:25:54.144000 [ 577 ] DEBUG : Setup database dir /ClickHouse/tests/integration/test_attach_partition_using_copy/_instances-1-gw0/replica1/database (cluster.py:4772, create_dir) 2026-04-10 19:25:54.144000 [ 577 ] DEBUG : Setup logs dir /ClickHouse/tests/integration/test_attach_partition_using_copy/_instances-1-gw0/replica1/logs (cluster.py:4783, create_dir) 2026-04-10 19:25:54.144000 [ 577 ] DEBUG : Entrypoint cmd: ["clickhouse", "server", "--config-file=/etc/clickhouse-server/config.xml", "--log-file=/var/log/clickhouse-server/clickhouse-server.log", "--errorlog-file=/var/log/clickhouse-server/clickhouse-server.err.log", "--"] (cluster.py:4864, create_dir) 2026-04-10 19:25:54.145000 [ 577 ] DEBUG : Setup directory for instance: replica2 (cluster.py:2768, start) 2026-04-10 19:25:54.145000 [ 577 ] DEBUG : Create directory for configuration generated in this helper (cluster.py:4638, create_dir) 2026-04-10 19:25:54.145000 [ 577 ] DEBUG : Create directory for common tests configuration (cluster.py:4643, create_dir) 2026-04-10 19:25:54.145000 [ 577 ] DEBUG : Copy common configuration from helpers (cluster.py:4663, create_dir) 2026-04-10 19:25:54.146000 [ 577 ] DEBUG : Generate and write macros file (cluster.py:4715, create_dir) 2026-04-10 19:25:54.146000 [ 577 ] DEBUG : Copy custom test config files ['/ClickHouse/tests/integration/test_attach_partition_using_copy/configs/remote_servers.xml'] to /ClickHouse/tests/integration/test_attach_partition_using_copy/_instances-1-gw0/replica2/configs/config.d (cluster.py:4755, create_dir) 2026-04-10 19:25:54.146000 [ 577 ] DEBUG : Setup database dir /ClickHouse/tests/integration/test_attach_partition_using_copy/_instances-1-gw0/replica2/database (cluster.py:4772, create_dir) 2026-04-10 19:25:54.146000 [ 577 ] DEBUG : Setup logs dir /ClickHouse/tests/integration/test_attach_partition_using_copy/_instances-1-gw0/replica2/logs (cluster.py:4783, create_dir) 2026-04-10 19:25:54.147000 [ 577 ] DEBUG : Entrypoint cmd: ["clickhouse", "server", "--config-file=/etc/clickhouse-server/config.xml", "--log-file=/var/log/clickhouse-server/clickhouse-server.log", "--errorlog-file=/var/log/clickhouse-server/clickhouse-server.err.log", "--"] (cluster.py:4864, create_dir) 2026-04-10 19:25:54.147000 [ 577 ] DEBUG : Env {'ASAN_OPTIONS': 'use_sigaltstack=0', 'TSAN_OPTIONS': 'use_sigaltstack=0', 'LSAN_OPTIONS': 'suppressions=/etc/clickhouse-server/lsan_suppressions.txt', 'CLICKHOUSE_WATCHDOG_ENABLE': '0', 'CLICKHOUSE_NATS_TLS_SECURE': '0', 'LLVM_PROFILE_FILE': '/var/lib/clickhouse/server_%h_%p_%m.profraw', 'keeper_binary': '/clickhouse', 'keeper_cmd_prefix': 'clickhouse keeper', 'image': 'altinityinfra/integration-test:5ccda723c1fc', 'user': '0', 'keeper_fs': 'bind', 'keeper_logs_dir1': '/ClickHouse/tests/integration/test_attach_partition_using_copy/_instances-1-gw0/keeper1/log', 'keeper_config_dir1': '/ClickHouse/tests/integration/test_attach_partition_using_copy/_instances-1-gw0/keeper1/config', 'keeper_db_dir1': '/ClickHouse/tests/integration/test_attach_partition_using_copy/_instances-1-gw0/keeper1/coordination', 'keeper_logs_dir2': '/ClickHouse/tests/integration/test_attach_partition_using_copy/_instances-1-gw0/keeper2/log', 'keeper_config_dir2': '/ClickHouse/tests/integration/test_attach_partition_using_copy/_instances-1-gw0/keeper2/config', 'keeper_db_dir2': '/ClickHouse/tests/integration/test_attach_partition_using_copy/_instances-1-gw0/keeper2/coordination', 'keeper_logs_dir3': '/ClickHouse/tests/integration/test_attach_partition_using_copy/_instances-1-gw0/keeper3/log', 'keeper_config_dir3': '/ClickHouse/tests/integration/test_attach_partition_using_copy/_instances-1-gw0/keeper3/config', 'keeper_db_dir3': '/ClickHouse/tests/integration/test_attach_partition_using_copy/_instances-1-gw0/keeper3/coordination'} stored in /ClickHouse/tests/integration/test_attach_partition_using_copy/_instances-1-gw0/.env (cluster.py:96, _create_env_file) 2026-04-10 19:25:54.147000 [ 577 ] DEBUG : Trying paths: ['/root/.docker/config.json', '/root/.dockercfg'] (config.py:21, find_config_file) 2026-04-10 19:25:54.147000 [ 577 ] DEBUG : No config file found (config.py:28, find_config_file) 2026-04-10 19:25:54.147000 [ 577 ] DEBUG : Trying paths: ['/root/.docker/config.json', '/root/.dockercfg'] (config.py:21, find_config_file) 2026-04-10 19:25:54.148000 [ 577 ] DEBUG : No config file found (config.py:28, find_config_file) 2026-04-10 19:25:54.157000 [ 577 ] DEBUG : http://localhost:None "GET /version HTTP/1.1" 200 826 (connectionpool.py:547, _make_request) 2026-04-10 19:25:54.158000 [ 577 ] DEBUG : Command:[docker compose --env-file /ClickHouse/tests/integration/test_attach_partition_using_copy/_instances-1-gw0/.env --project-name roottestattachpartitionusingcopy-gw0 --file /ClickHouse/tests/integration/test_attach_partition_using_copy/_instances-1-gw0/replica1/docker-compose.yml --file /ClickHouse/tests/integration/helpers/../../../tests/integration/compose/docker_compose_keeper.yml --file /ClickHouse/tests/integration/test_attach_partition_using_copy/_instances-1-gw0/replica2/docker-compose.yml pull] (cluster.py:121, run_and_check) 2026-04-10 19:26:04.616000 [ 577 ] DEBUG : Stderr: replica1 Skipped - Image is already being pulled by replica2 (cluster.py:147, run_and_check) 2026-04-10 19:26:04.617000 [ 577 ] DEBUG : Stderr: zoo1 Skipped - Image is already being pulled by replica2 (cluster.py:147, run_and_check) 2026-04-10 19:26:04.617000 [ 577 ] DEBUG : Stderr: zoo2 Skipped - Image is already being pulled by replica2 (cluster.py:147, run_and_check) 2026-04-10 19:26:04.617000 [ 577 ] DEBUG : Stderr: zoo3 Skipped - Image is already being pulled by replica2 (cluster.py:147, run_and_check) 2026-04-10 19:26:04.617000 [ 577 ] DEBUG : Stderr: replica2 Pulling (cluster.py:147, run_and_check) 2026-04-10 19:26:04.617000 [ 577 ] DEBUG : Stderr: replica2 Pulled (cluster.py:147, run_and_check) 2026-04-10 19:26:04.617000 [ 577 ] DEBUG : Setup ZooKeeper (cluster.py:2809, start) 2026-04-10 19:26:04.617000 [ 577 ] DEBUG : Creating internal ZooKeeper dirs: ['/ClickHouse/tests/integration/test_attach_partition_using_copy/_instances-1-gw0/keeper1/log', '/ClickHouse/tests/integration/test_attach_partition_using_copy/_instances-1-gw0/keeper1/config', '/ClickHouse/tests/integration/test_attach_partition_using_copy/_instances-1-gw0/keeper1/coordination', '/ClickHouse/tests/integration/test_attach_partition_using_copy/_instances-1-gw0/keeper2/log', '/ClickHouse/tests/integration/test_attach_partition_using_copy/_instances-1-gw0/keeper2/config', '/ClickHouse/tests/integration/test_attach_partition_using_copy/_instances-1-gw0/keeper2/coordination', '/ClickHouse/tests/integration/test_attach_partition_using_copy/_instances-1-gw0/keeper3/log', '/ClickHouse/tests/integration/test_attach_partition_using_copy/_instances-1-gw0/keeper3/config', '/ClickHouse/tests/integration/test_attach_partition_using_copy/_instances-1-gw0/keeper3/coordination'] (cluster.py:2810, start) 2026-04-10 19:26:04.618000 [ 577 ] DEBUG : Command:[docker compose --project-name roottestattachpartitionusingcopy-gw0 --env-file /ClickHouse/tests/integration/test_attach_partition_using_copy/_instances-1-gw0/.env --file /ClickHouse/tests/integration/helpers/../../../tests/integration/compose/docker_compose_keeper.yml --verbose up -d] (cluster.py:121, run_and_check) 2026-04-10 19:26:05.390000 [ 577 ] DEBUG : Stderr:time="2026-04-10T19:26:04Z" level=trace msg="Docker Desktop integration not enabled" (cluster.py:147, run_and_check) 2026-04-10 19:26:05.391000 [ 577 ] DEBUG : Stderr: Network roottestattachpartitionusingcopy-gw0_default Creating (cluster.py:147, run_and_check) 2026-04-10 19:26:05.391000 [ 577 ] DEBUG : Stderr: Network roottestattachpartitionusingcopy-gw0_default Created (cluster.py:147, run_and_check) 2026-04-10 19:26:05.391000 [ 577 ] DEBUG : Stderr: Container roottestattachpartitionusingcopy-gw0-zoo3-1 Creating (cluster.py:147, run_and_check) 2026-04-10 19:26:05.391000 [ 577 ] DEBUG : Stderr: Container roottestattachpartitionusingcopy-gw0-zoo1-1 Creating (cluster.py:147, run_and_check) 2026-04-10 19:26:05.391000 [ 577 ] DEBUG : Stderr: Container roottestattachpartitionusingcopy-gw0-zoo2-1 Creating (cluster.py:147, run_and_check) 2026-04-10 19:26:05.391000 [ 577 ] DEBUG : Stderr: Container roottestattachpartitionusingcopy-gw0-zoo2-1 Created (cluster.py:147, run_and_check) 2026-04-10 19:26:05.391000 [ 577 ] DEBUG : Stderr: Container roottestattachpartitionusingcopy-gw0-zoo3-1 Created (cluster.py:147, run_and_check) 2026-04-10 19:26:05.392000 [ 577 ] DEBUG : Stderr: Container roottestattachpartitionusingcopy-gw0-zoo1-1 Created (cluster.py:147, run_and_check) 2026-04-10 19:26:05.392000 [ 577 ] DEBUG : Stderr: Container roottestattachpartitionusingcopy-gw0-zoo3-1 Starting (cluster.py:147, run_and_check) 2026-04-10 19:26:05.392000 [ 577 ] DEBUG : Stderr: Container roottestattachpartitionusingcopy-gw0-zoo1-1 Starting (cluster.py:147, run_and_check) 2026-04-10 19:26:05.392000 [ 577 ] DEBUG : Stderr: Container roottestattachpartitionusingcopy-gw0-zoo2-1 Starting (cluster.py:147, run_and_check) 2026-04-10 19:26:05.392000 [ 577 ] DEBUG : Stderr: Container roottestattachpartitionusingcopy-gw0-zoo1-1 Started (cluster.py:147, run_and_check) 2026-04-10 19:26:05.392000 [ 577 ] DEBUG : Stderr: Container roottestattachpartitionusingcopy-gw0-zoo3-1 Started (cluster.py:147, run_and_check) 2026-04-10 19:26:05.392000 [ 577 ] DEBUG : Stderr: Container roottestattachpartitionusingcopy-gw0-zoo2-1 Started (cluster.py:147, run_and_check) 2026-04-10 19:26:05.392000 [ 577 ] DEBUG : Stderr:time="2026-04-10T19:26:05Z" level=debug msg="otel error" error="" (cluster.py:147, run_and_check) 2026-04-10 19:26:05.392000 [ 577 ] DEBUG : Stderr:time="2026-04-10T19:26:05Z" level=debug msg="otel error" error="" (cluster.py:147, run_and_check) 2026-04-10 19:26:05.392000 [ 577 ] DEBUG : Wait ZooKeeper to start (cluster.py:2446, wait_zookeeper_to_start) 2026-04-10 19:26:05.392000 [ 577 ] DEBUG : get_instance_ip instance_name=zoo1 (cluster.py:2015, get_instance_ip) 2026-04-10 19:26:05.395000 [ 577 ] DEBUG : http://localhost:None "GET /v1.46/containers/roottestattachpartitionusingcopy-gw0-zoo1-1/json HTTP/1.1" 200 None (connectionpool.py:547, _make_request) 2026-04-10 19:26:05.395000 [ 577 ] DEBUG : get_kazoo_client: zoo1, ip:172.16.1.2, port:2181, use_ssl:False (cluster.py:3322, get_kazoo_client) 2026-04-10 19:26:05.397000 [ 577 ] INFO : Connecting to 172.16.1.2(172.16.1.2):2181, use_ssl: False (connection.py:650, _connect) 2026-04-10 19:26:05.397000 [ 577 ] WARNING : Connection dropped: socket connection error: Connection refused (connection.py:622, _connect_attempt) 2026-04-10 19:26:05.521000 [ 577 ] INFO : Connecting to 172.16.1.2(172.16.1.2):2181, use_ssl: False (connection.py:650, _connect) 2026-04-10 19:26:05.522000 [ 577 ] WARNING : Connection dropped: socket connection error: Connection refused (connection.py:622, _connect_attempt) 2026-04-10 19:26:05.712000 [ 577 ] INFO : Connecting to 172.16.1.2(172.16.1.2):2181, use_ssl: False (connection.py:650, _connect) 2026-04-10 19:26:05.713000 [ 577 ] WARNING : Connection dropped: socket connection error: Connection refused (connection.py:622, _connect_attempt) 2026-04-10 19:26:06.053000 [ 577 ] INFO : Connecting to 172.16.1.2(172.16.1.2):2181, use_ssl: False (connection.py:650, _connect) 2026-04-10 19:26:06.055000 [ 577 ] WARNING : Connection dropped: socket connection error: Connection refused (connection.py:622, _connect_attempt) 2026-04-10 19:26:06.830000 [ 577 ] INFO : Connecting to 172.16.1.2(172.16.1.2):2181, use_ssl: False (connection.py:650, _connect) 2026-04-10 19:26:06.830000 [ 577 ] WARNING : Connection dropped: socket connection error: Connection refused (connection.py:622, _connect_attempt) 2026-04-10 19:26:08.200000 [ 577 ] INFO : Connecting to 172.16.1.2(172.16.1.2):2181, use_ssl: False (connection.py:650, _connect) 2026-04-10 19:26:08.201000 [ 577 ] DEBUG : Sending request(xid=None): Connect(protocol_version=0, last_zxid_seen=0, time_out=30000, session_id=0, passwd=b'\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00', read_only=None) (connection.py:312, _submit) 2026-04-10 19:26:08.206000 [ 577 ] INFO : Zookeeper connection established, state: CONNECTED (client.py:532, _session_callback) 2026-04-10 19:26:08.207000 [ 577 ] DEBUG : Sending request(xid=1): GetChildren(path='/', watcher=None) (connection.py:312, _submit) 2026-04-10 19:26:08.207000 [ 577 ] DEBUG : Received response(xid=1): ['keeper'] (connection.py:410, _read_response) 2026-04-10 19:26:08.208000 [ 577 ] DEBUG : Sending request(xid=2): Close() (connection.py:312, _submit) 2026-04-10 19:26:08.211000 [ 577 ] WARNING : Connection dropped: socket connection broken (connection.py:622, _connect_attempt) 2026-04-10 19:26:08.211000 [ 577 ] WARNING : Transition to CONNECTING (connection.py:626, _connect_attempt) 2026-04-10 19:26:08.212000 [ 577 ] INFO : Zookeeper connection lost (client.py:543, _session_callback) 2026-04-10 19:26:08.312000 [ 577 ] WARNING : Failed connecting to Zookeeper within the connection retry policy. (connection.py:515, zk_loop) 2026-04-10 19:26:08.312000 [ 577 ] INFO : Zookeeper session closed, state: CLOSED (client.py:537, _session_callback) 2026-04-10 19:26:08.313000 [ 577 ] DEBUG : get_instance_ip instance_name=zoo2 (cluster.py:2015, get_instance_ip) 2026-04-10 19:26:08.316000 [ 577 ] DEBUG : http://localhost:None "GET /v1.46/containers/roottestattachpartitionusingcopy-gw0-zoo2-1/json HTTP/1.1" 200 None (connectionpool.py:547, _make_request) 2026-04-10 19:26:08.317000 [ 577 ] DEBUG : get_kazoo_client: zoo2, ip:172.16.1.4, port:2181, use_ssl:False (cluster.py:3322, get_kazoo_client) 2026-04-10 19:26:08.318000 [ 577 ] INFO : Connecting to 172.16.1.4(172.16.1.4):2181, use_ssl: False (connection.py:650, _connect) 2026-04-10 19:26:08.319000 [ 577 ] DEBUG : Sending request(xid=None): Connect(protocol_version=0, last_zxid_seen=0, time_out=30000, session_id=0, passwd=b'\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00', read_only=None) (connection.py:312, _submit) 2026-04-10 19:26:08.321000 [ 577 ] INFO : Zookeeper connection established, state: CONNECTED (client.py:532, _session_callback) 2026-04-10 19:26:08.321000 [ 577 ] DEBUG : Sending request(xid=1): GetChildren(path='/', watcher=None) (connection.py:312, _submit) 2026-04-10 19:26:08.322000 [ 577 ] DEBUG : Received response(xid=1): ['keeper'] (connection.py:410, _read_response) 2026-04-10 19:26:08.322000 [ 577 ] DEBUG : Sending request(xid=2): Close() (connection.py:312, _submit) 2026-04-10 19:26:08.324000 [ 577 ] WARNING : Connection dropped: socket connection broken (connection.py:622, _connect_attempt) 2026-04-10 19:26:08.324000 [ 577 ] WARNING : Transition to CONNECTING (connection.py:626, _connect_attempt) 2026-04-10 19:26:08.324000 [ 577 ] INFO : Zookeeper connection lost (client.py:543, _session_callback) 2026-04-10 19:26:08.424000 [ 577 ] WARNING : Failed connecting to Zookeeper within the connection retry policy. (connection.py:515, zk_loop) 2026-04-10 19:26:08.425000 [ 577 ] INFO : Zookeeper session closed, state: CLOSED (client.py:537, _session_callback) 2026-04-10 19:26:08.425000 [ 577 ] DEBUG : get_instance_ip instance_name=zoo3 (cluster.py:2015, get_instance_ip) 2026-04-10 19:26:08.428000 [ 577 ] DEBUG : http://localhost:None "GET /v1.46/containers/roottestattachpartitionusingcopy-gw0-zoo3-1/json HTTP/1.1" 200 None (connectionpool.py:547, _make_request) 2026-04-10 19:26:08.429000 [ 577 ] DEBUG : get_kazoo_client: zoo3, ip:172.16.1.3, port:2181, use_ssl:False (cluster.py:3322, get_kazoo_client) 2026-04-10 19:26:08.430000 [ 577 ] INFO : Connecting to 172.16.1.3(172.16.1.3):2181, use_ssl: False (connection.py:650, _connect) 2026-04-10 19:26:08.430000 [ 577 ] DEBUG : Sending request(xid=None): Connect(protocol_version=0, last_zxid_seen=0, time_out=30000, session_id=0, passwd=b'\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00', read_only=None) (connection.py:312, _submit) 2026-04-10 19:26:08.435000 [ 577 ] INFO : Zookeeper connection established, state: CONNECTED (client.py:532, _session_callback) 2026-04-10 19:26:08.436000 [ 577 ] DEBUG : Sending request(xid=1): GetChildren(path='/', watcher=None) (connection.py:312, _submit) 2026-04-10 19:26:08.437000 [ 577 ] DEBUG : Received response(xid=1): ['keeper'] (connection.py:410, _read_response) 2026-04-10 19:26:08.438000 [ 577 ] DEBUG : Sending request(xid=2): Close() (connection.py:312, _submit) 2026-04-10 19:26:08.440000 [ 577 ] WARNING : Connection dropped: socket connection broken (connection.py:622, _connect_attempt) 2026-04-10 19:26:08.440000 [ 577 ] WARNING : Transition to CONNECTING (connection.py:626, _connect_attempt) 2026-04-10 19:26:08.441000 [ 577 ] INFO : Zookeeper connection lost (client.py:543, _session_callback) 2026-04-10 19:26:08.541000 [ 577 ] WARNING : Failed connecting to Zookeeper within the connection retry policy. (connection.py:515, zk_loop) 2026-04-10 19:26:08.542000 [ 577 ] INFO : Zookeeper session closed, state: CLOSED (client.py:537, _session_callback) 2026-04-10 19:26:08.542000 [ 577 ] DEBUG : All instances of ZooKeeper started: ('zoo1', 'zoo2', 'zoo3') (cluster.py:2462, wait_zookeeper_nodes_to_start) 2026-04-10 19:26:08.543000 [ 577 ] DEBUG : ('Trying to create ClickHouse instance by command %s', 'docker compose --env-file /ClickHouse/tests/integration/test_attach_partition_using_copy/_instances-1-gw0/.env --project-name roottestattachpartitionusingcopy-gw0 --file /ClickHouse/tests/integration/test_attach_partition_using_copy/_instances-1-gw0/replica1/docker-compose.yml --file /ClickHouse/tests/integration/helpers/../../../tests/integration/compose/docker_compose_keeper.yml --file /ClickHouse/tests/integration/test_attach_partition_using_copy/_instances-1-gw0/replica2/docker-compose.yml up -d --no-recreate') (cluster.py:3149, start) 2026-04-10 19:26:08.543000 [ 577 ] DEBUG : Command:[docker compose --env-file /ClickHouse/tests/integration/test_attach_partition_using_copy/_instances-1-gw0/.env --project-name roottestattachpartitionusingcopy-gw0 --file /ClickHouse/tests/integration/test_attach_partition_using_copy/_instances-1-gw0/replica1/docker-compose.yml --file /ClickHouse/tests/integration/helpers/../../../tests/integration/compose/docker_compose_keeper.yml --file /ClickHouse/tests/integration/test_attach_partition_using_copy/_instances-1-gw0/replica2/docker-compose.yml up -d --no-recreate] (cluster.py:121, run_and_check) 2026-04-10 19:26:09.059000 [ 577 ] DEBUG : Stderr: Container roottestattachpartitionusingcopy-gw0-zoo3-1 Running (cluster.py:147, run_and_check) 2026-04-10 19:26:09.060000 [ 577 ] DEBUG : Stderr: Container roottestattachpartitionusingcopy-gw0-zoo2-1 Running (cluster.py:147, run_and_check) 2026-04-10 19:26:09.060000 [ 577 ] DEBUG : Stderr: Container roottestattachpartitionusingcopy-gw0-zoo1-1 Running (cluster.py:147, run_and_check) 2026-04-10 19:26:09.060000 [ 577 ] DEBUG : Stderr: Container roottestattachpartitionusingcopy-gw0-replica1-1 Creating (cluster.py:147, run_and_check) 2026-04-10 19:26:09.060000 [ 577 ] DEBUG : Stderr: Container roottestattachpartitionusingcopy-gw0-replica2-1 Creating (cluster.py:147, run_and_check) 2026-04-10 19:26:09.060000 [ 577 ] DEBUG : Stderr: Container roottestattachpartitionusingcopy-gw0-replica2-1 Created (cluster.py:147, run_and_check) 2026-04-10 19:26:09.060000 [ 577 ] DEBUG : Stderr: Container roottestattachpartitionusingcopy-gw0-replica1-1 Created (cluster.py:147, run_and_check) 2026-04-10 19:26:09.060000 [ 577 ] DEBUG : Stderr: Container roottestattachpartitionusingcopy-gw0-replica1-1 Starting (cluster.py:147, run_and_check) 2026-04-10 19:26:09.060000 [ 577 ] DEBUG : Stderr: Container roottestattachpartitionusingcopy-gw0-replica2-1 Starting (cluster.py:147, run_and_check) 2026-04-10 19:26:09.060000 [ 577 ] DEBUG : Stderr: Container roottestattachpartitionusingcopy-gw0-replica1-1 Started (cluster.py:147, run_and_check) 2026-04-10 19:26:09.061000 [ 577 ] DEBUG : Stderr: Container roottestattachpartitionusingcopy-gw0-replica2-1 Started (cluster.py:147, run_and_check) 2026-04-10 19:26:09.061000 [ 577 ] DEBUG : ClickHouse instance created (cluster.py:3157, start) 2026-04-10 19:26:09.061000 [ 577 ] DEBUG : get_instance_ip instance_name=replica1 (cluster.py:2015, get_instance_ip) 2026-04-10 19:26:09.064000 [ 577 ] DEBUG : http://localhost:None "GET /v1.46/containers/roottestattachpartitionusingcopy-gw0-replica1-1/json HTTP/1.1" 200 None (connectionpool.py:547, _make_request) 2026-04-10 19:26:09.064000 [ 577 ] DEBUG : get_instance_ip instance_name=replica1 (cluster.py:2025, get_instance_global_ipv6) 2026-04-10 19:26:09.067000 [ 577 ] DEBUG : http://localhost:None "GET /v1.46/containers/roottestattachpartitionusingcopy-gw0-replica1-1/json HTTP/1.1" 200 None (connectionpool.py:547, _make_request) 2026-04-10 19:26:09.067000 [ 577 ] DEBUG : Waiting for ClickHouse start in replica1, ip: 172.16.1.5... (cluster.py:3165, start) 2026-04-10 19:26:09.070000 [ 577 ] DEBUG : http://localhost:None "GET /v1.46/containers/roottestattachpartitionusingcopy-gw0-replica1-1/json HTTP/1.1" 200 None (connectionpool.py:547, _make_request) 2026-04-10 19:26:09.073000 [ 577 ] DEBUG : http://localhost:None "GET /v1.46/containers/27f49d2ab2ec3ee49534a76c3447599455a23e9059ebb16650fafa8fd3b36752/json HTTP/1.1" 200 None (connectionpool.py:547, _make_request) 2026-04-10 19:26:09.177000 [ 577 ] DEBUG : http://localhost:None "GET /v1.46/containers/27f49d2ab2ec3ee49534a76c3447599455a23e9059ebb16650fafa8fd3b36752/json HTTP/1.1" 200 None (connectionpool.py:547, _make_request) 2026-04-10 19:26:09.282000 [ 577 ] DEBUG : http://localhost:None "GET /v1.46/containers/27f49d2ab2ec3ee49534a76c3447599455a23e9059ebb16650fafa8fd3b36752/json HTTP/1.1" 200 None (connectionpool.py:547, _make_request) 2026-04-10 19:26:09.386000 [ 577 ] DEBUG : http://localhost:None "GET /v1.46/containers/27f49d2ab2ec3ee49534a76c3447599455a23e9059ebb16650fafa8fd3b36752/json HTTP/1.1" 200 None (connectionpool.py:547, _make_request) 2026-04-10 19:26:09.491000 [ 577 ] DEBUG : http://localhost:None "GET /v1.46/containers/27f49d2ab2ec3ee49534a76c3447599455a23e9059ebb16650fafa8fd3b36752/json HTTP/1.1" 200 None (connectionpool.py:547, _make_request) 2026-04-10 19:26:09.595000 [ 577 ] DEBUG : http://localhost:None "GET /v1.46/containers/27f49d2ab2ec3ee49534a76c3447599455a23e9059ebb16650fafa8fd3b36752/json HTTP/1.1" 200 None (connectionpool.py:547, _make_request) 2026-04-10 19:26:09.698000 [ 577 ] DEBUG : http://localhost:None "GET /v1.46/containers/27f49d2ab2ec3ee49534a76c3447599455a23e9059ebb16650fafa8fd3b36752/json HTTP/1.1" 200 None (connectionpool.py:547, _make_request) 2026-04-10 19:26:09.699000 [ 577 ] DEBUG : ClickHouse replica1 started (cluster.py:3169, start) 2026-04-10 19:26:09.699000 [ 577 ] DEBUG : get_instance_ip instance_name=replica2 (cluster.py:2015, get_instance_ip) 2026-04-10 19:26:09.702000 [ 577 ] DEBUG : http://localhost:None "GET /v1.46/containers/roottestattachpartitionusingcopy-gw0-replica2-1/json HTTP/1.1" 200 None (connectionpool.py:547, _make_request) 2026-04-10 19:26:09.703000 [ 577 ] DEBUG : get_instance_ip instance_name=replica2 (cluster.py:2025, get_instance_global_ipv6) 2026-04-10 19:26:09.706000 [ 577 ] DEBUG : http://localhost:None "GET /v1.46/containers/roottestattachpartitionusingcopy-gw0-replica2-1/json HTTP/1.1" 200 None (connectionpool.py:547, _make_request) 2026-04-10 19:26:09.706000 [ 577 ] DEBUG : Waiting for ClickHouse start in replica2, ip: 172.16.1.6... (cluster.py:3165, start) 2026-04-10 19:26:09.708000 [ 577 ] DEBUG : http://localhost:None "GET /v1.46/containers/roottestattachpartitionusingcopy-gw0-replica2-1/json HTTP/1.1" 200 None (connectionpool.py:547, _make_request) 2026-04-10 19:26:09.711000 [ 577 ] DEBUG : http://localhost:None "GET /v1.46/containers/cd3846cdaba24fc0036c933a69918fefd32a6617c481da0da3cbe8bfb2fa6918/json HTTP/1.1" 200 None (connectionpool.py:547, _make_request) 2026-04-10 19:26:09.712000 [ 577 ] DEBUG : ClickHouse replica2 started (cluster.py:3169, start) ------------------------------ Captured log call ------------------------------- 2026-04-10 19:26:09.715000 [ 577 ] DEBUG : Executing query DROP TABLE IF EXISTS source SYNC on replica1 (cluster.py:3658, query) 2026-04-10 19:26:10.081000 [ 577 ] DEBUG : Executing query DROP TABLE IF EXISTS destination SYNC on replica1 (cluster.py:3658, query) 2026-04-10 19:26:10.147000 [ 577 ] DEBUG : Executing query DROP TABLE IF EXISTS source SYNC on replica2 (cluster.py:3658, query) 2026-04-10 19:26:10.213000 [ 577 ] DEBUG : Executing query DROP TABLE IF EXISTS destination SYNC on replica2 (cluster.py:3658, query) 2026-04-10 19:26:10.280000 [ 577 ] DEBUG : Executing query ATTACH TABLE source UUID 'cf712b4f-2ca8-435c-ac23-c4393efe52f7' ( price UInt32, date Date, postcode1 LowCardinality(String), postcode2 LowCardinality(String), type Enum8('other' = 0, 'terraced' = 1, 'semi-detached' = 2, 'detached' = 3, 'flat' = 4), is_new UInt8, duration Enum8('unknown' = 0, 'freehold' = 1, 'leasehold' = 2), addr1 String, addr2 String, street LowCardinality(String), locality LowCardinality(String), town LowCardinality(String), district LowCardinality(String), county LowCardinality(String) ) ENGINE = ReplicatedMergeTree('/clickhouse/tables/1/source', 'replica1') ORDER BY (postcode1, postcode2, addr1, addr2) SETTINGS disk = disk(type = web, endpoint = 'https://raw.githubusercontent.com/ClickHouse/web-tables-demo/main/web/') on replica1 (cluster.py:3658, query) 2026-04-10 19:27:04.005000 [ 577 ] DEBUG : Executing query ATTACH TABLE source UUID 'cf712b4f-2ca8-435c-ac23-c4393efe52f7' ( price UInt32, date Date, postcode1 LowCardinality(String), postcode2 LowCardinality(String), type Enum8('other' = 0, 'terraced' = 1, 'semi-detached' = 2, 'detached' = 3, 'flat' = 4), is_new UInt8, duration Enum8('unknown' = 0, 'freehold' = 1, 'leasehold' = 2), addr1 String, addr2 String, street LowCardinality(String), locality LowCardinality(String), town LowCardinality(String), district LowCardinality(String), county LowCardinality(String) ) ENGINE = ReplicatedMergeTree('/clickhouse/tables/1/source', 'replica1') ORDER BY (postcode1, postcode2, addr1, addr2) SETTINGS disk = disk(type = web, endpoint = 'https://raw.githubusercontent.com/ClickHouse/web-tables-demo/main/web/') on replica1 (cluster.py:3658, query) 2026-04-10 19:27:58.608000 [ 577 ] DEBUG : Executing query ATTACH TABLE source UUID 'cf712b4f-2ca8-435c-ac23-c4393efe52f7' ( price UInt32, date Date, postcode1 LowCardinality(String), postcode2 LowCardinality(String), type Enum8('other' = 0, 'terraced' = 1, 'semi-detached' = 2, 'detached' = 3, 'flat' = 4), is_new UInt8, duration Enum8('unknown' = 0, 'freehold' = 1, 'leasehold' = 2), addr1 String, addr2 String, street LowCardinality(String), locality LowCardinality(String), town LowCardinality(String), district LowCardinality(String), county LowCardinality(String) ) ENGINE = ReplicatedMergeTree('/clickhouse/tables/1/source', 'replica1') ORDER BY (postcode1, postcode2, addr1, addr2) SETTINGS disk = disk(type = web, endpoint = 'https://raw.githubusercontent.com/ClickHouse/web-tables-demo/main/web/') on replica1 (cluster.py:3658, query) _____________________________ test_both_mergetree ______________________________ [gw0] linux -- Python 3.10.12 /usr/bin/python3 start_cluster = def test_both_mergetree(start_cluster): cleanup([replica1, replica2]) > create_source_table(replica1, "source", False) test_attach_partition_using_copy/test.py:106: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_attach_partition_using_copy/test.py:40: in create_source_table node.query_with_retry( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = sql = "\n ATTACH TABLE source UUID 'cf712b4f-2ca8-435c-ac23-c4393efe52f7'\n (\n price UInt32,\n ...disk = disk(type = web, endpoint = 'https://raw.githubusercontent.com/ClickHouse/web-tables-demo/main/web/')\n " stdin = None, timeout = 60, settings = None, user = None, password = None database = None, host = None, ignore_error = False, retry_count = 3 sleep_time = 0.5 check_callback = at 0x7fa5c825c040> parse = False def query_with_retry( self, sql, stdin=None, timeout=None, settings=None, user=None, password=None, database=None, host=None, ignore_error=False, retry_count=20, sleep_time=0.5, check_callback=lambda x: True, parse=False, ): # logging.debug(f"Executing query {sql} on {self.name}") result = None exception_msg = "" for i in range(retry_count): try: result = self.query( sql, stdin=stdin, timeout=timeout, settings=settings, user=user, password=password, database=database, host=host, ignore_error=ignore_error, parse=parse, ) if check_callback(result): return result time.sleep(sleep_time) except QueryRuntimeException as ex: exception_msg = f"{type(ex).__name__}: {str(ex)}" # Container is down, this is likely due to server crash. if "No route to host" in str(ex): raise time.sleep(sleep_time) except Exception as ex: # logging.debug("Retry {} got exception {}".format(i + 1, ex)) exception_msg = f"{type(ex).__name__}: {str(ex)}" time.sleep(sleep_time) if result is not None: return result > raise Exception(f"Can't execute query {sql}\n{exception_msg}") E Exception: Can't execute query E ATTACH TABLE source UUID 'cf712b4f-2ca8-435c-ac23-c4393efe52f7' E ( E price UInt32, E date Date, E postcode1 LowCardinality(String), E postcode2 LowCardinality(String), E type Enum8('other' = 0, 'terraced' = 1, 'semi-detached' = 2, 'detached' = 3, 'flat' = 4), E is_new UInt8, E duration Enum8('unknown' = 0, 'freehold' = 1, 'leasehold' = 2), E addr1 String, E addr2 String, E street LowCardinality(String), E locality LowCardinality(String), E town LowCardinality(String), E district LowCardinality(String), E county LowCardinality(String) E ) E ENGINE = MergeTree() E ORDER BY (postcode1, postcode2, addr1, addr2) E SETTINGS disk = disk(type = web, endpoint = 'https://raw.githubusercontent.com/ClickHouse/web-tables-demo/main/web/') E E QueryRuntimeException: Client failed! Return code: 198, stderr: Received exception from server (version 25.3.8): E Code: 198. DB::Exception: Received from 172.16.1.5:9000. DB::NetException. DB::NetException: Not found address of host: raw.githubusercontent.com: while loading disk metadata. Stack trace: E E 0. DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000d7ed77b E 1. DB::NetException::NetException(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000d7c25c4 E 2. DB::(anonymous namespace)::hostByName(String const&) @ 0x000000000d7c4104 E 3. DB::DNSResolver::getResolvedIPAdressessWithFiltering(String const&) @ 0x000000000d7c1fb2 E 4. DB::DNSResolver::resolveIPAddressWithCache(String const&) @ 0x000000000d7c317a E 5. std::vector> std::__function::__policy_invoker> (String const&)>::__call_impl[abi:ne190107]> (String const&)>>(std::__function::__policy_storage const*, String const&) @ 0x000000000db7fa16 E 6. DB::HostResolver::update() @ 0x000000000db7aa4c E 7. DB::HostResolver::HostResolver(String, Poco::Timespan) @ 0x000000000db7a8e9 E 8. std::shared_ptr DB::HostResolver::create(String const&)::make_shared_enabler::make_shared_enabler(String const&) @ 0x000000000db7ff8d E 9. std::shared_ptr DB::HostResolver::create(String const&)::make_shared_enabler> std::allocate_shared[abi:ne190107] DB::HostResolver::create(String const&)::make_shared_enabler, std::allocator DB::HostResolver::create(String const&)::make_shared_enabler>, String const&, 0>(std::allocator DB::HostResolver::create(String const&)::make_shared_enabler> const&, String const&) @ 0x000000000db7fdf2 E 10. DB::HostResolversPool::getResolver(String const&) @ 0x000000000db7c8f3 E 11. DB::EndpointConnectionPool::getConnection(DB::ConnectionTimeouts const&, unsigned long*) @ 0x000000000db708d5 E 12. DB::makeHTTPSession(DB::HTTPConnectionGroupType, Poco::URI const&, DB::ConnectionTimeouts const&, DB::ProxyConfiguration const&, unsigned long*) @ 0x000000000db89996 E 13. DB::ReadWriteBufferFromHTTP::callImpl(Poco::Net::HTTPResponse&, String const&, std::optional const&, bool) const @ 0x000000000f6367bc E 14. DB::ReadWriteBufferFromHTTP::callWithRedirects(Poco::Net::HTTPResponse&, String const&, std::optional const&) @ 0x000000000f636bfa E 15. void std::__function::__policy_invoker::__call_impl[abi:ne190107]>(std::__function::__policy_storage const*) @ 0x000000000f63ae0c E 16. DB::ReadWriteBufferFromHTTP::doWithRetries(std::function&&, std::function, bool) const @ 0x000000000f633f1b E 17. DB::ReadWriteBufferFromHTTP::nextImpl() @ 0x000000000f638a7f E 18. DB::WebObjectStorage::loadFiles(String const&, std::unique_lock const&) const @ 0x0000000010f41405 E 19. DB::WebObjectStorage::tryGetFileInfo(String const&) const @ 0x0000000010f45003 E 20. DB::WebObjectStorage::tryGetFileInfo(String const&) const @ 0x0000000010f44bc7 E 21. DB::MetadataStorageFromStaticFilesWebServer::getStorageObjectsIfExist(String const&) const @ 0x0000000010f3ebfe E 22. DB::DiskObjectStorage::readFileIfExists(String const&, DB::ReadSettings const&, std::optional, std::optional) const @ 0x0000000010ed6790 E 23. DB::MergeTreeData::initializeDirectoriesAndFormatVersion(String const&, bool, String const&, bool) @ 0x00000000128fc126 E 24. DB::StorageMergeTree::StorageMergeTree(DB::StorageID const&, String const&, DB::StorageInMemoryMetadata const&, DB::LoadingStrictnessLevel, std::shared_ptr, String const&, DB::MergeTreeData::MergingParams const&, std::unique_ptr>) @ 0x0000000012cc84a8 E 25. DB::create(DB::StorageFactory::Arguments const&) @ 0x0000000012cc4ccc E 26. DB::StorageFactory::get(DB::ASTCreateQuery const&, String const&, std::shared_ptr, std::shared_ptr, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, DB::LoadingStrictnessLevel, bool) const @ 0x00000000122c781b E 27. DB::InterpreterCreateQuery::doCreateTable(DB::ASTCreateQuery&, DB::InterpreterCreateQuery::TableProperties const&, std::unique_ptr>&, DB::LoadingStrictnessLevel) @ 0x000000001187aa00 E 28. DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x000000001186f6c2 E 29. DB::InterpreterCreateQuery::execute() @ 0x0000000011882c18 E 30. DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*, std::shared_ptr&) @ 0x0000000011cadfab E 31. DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x0000000011ca89c4 E . (DNS_ERROR) E (query: ATTACH TABLE source UUID 'cf712b4f-2ca8-435c-ac23-c4393efe52f7' E ( E price UInt32, E date Date, E postcode1 LowCardinality(String), E postcode2 LowCardinality(String), E type Enum8('other' = 0, 'terraced' = 1, 'semi-detached' = 2, 'detached' = 3, 'flat' = 4), E is_new UInt8, E duration Enum8('unknown' = 0, 'freehold' = 1, 'leasehold' = 2), E addr1 String, E addr2 String, E street LowCardinality(String), E locality LowCardinality(String), E town LowCardinality(String), E district LowCardinality(String), E county LowCardinality(String) E ) E ENGINE = MergeTree() E ORDER BY (postcode1, postcode2, addr1, addr2) E SETTINGS disk = disk(type = web, endpoint = 'https://raw.githubusercontent.com/ClickHouse/web-tables-demo/main/web/') E ) helpers/cluster.py:3722: Exception ------------------------------ Captured log call ------------------------------- 2026-04-10 19:28:54.082000 [ 577 ] DEBUG : Executing query DROP TABLE IF EXISTS source SYNC on replica1 (cluster.py:3658, query) 2026-04-10 19:28:54.148000 [ 577 ] DEBUG : Executing query DROP TABLE IF EXISTS destination SYNC on replica1 (cluster.py:3658, query) 2026-04-10 19:28:54.213000 [ 577 ] DEBUG : Executing query DROP TABLE IF EXISTS source SYNC on replica2 (cluster.py:3658, query) 2026-04-10 19:28:54.278000 [ 577 ] DEBUG : Executing query DROP TABLE IF EXISTS destination SYNC on replica2 (cluster.py:3658, query) 2026-04-10 19:28:54.345000 [ 577 ] DEBUG : Executing query ATTACH TABLE source UUID 'cf712b4f-2ca8-435c-ac23-c4393efe52f7' ( price UInt32, date Date, postcode1 LowCardinality(String), postcode2 LowCardinality(String), type Enum8('other' = 0, 'terraced' = 1, 'semi-detached' = 2, 'detached' = 3, 'flat' = 4), is_new UInt8, duration Enum8('unknown' = 0, 'freehold' = 1, 'leasehold' = 2), addr1 String, addr2 String, street LowCardinality(String), locality LowCardinality(String), town LowCardinality(String), district LowCardinality(String), county LowCardinality(String) ) ENGINE = MergeTree() ORDER BY (postcode1, postcode2, addr1, addr2) SETTINGS disk = disk(type = web, endpoint = 'https://raw.githubusercontent.com/ClickHouse/web-tables-demo/main/web/') on replica1 (cluster.py:3658, query) 2026-04-10 19:29:49.211000 [ 577 ] DEBUG : Executing query ATTACH TABLE source UUID 'cf712b4f-2ca8-435c-ac23-c4393efe52f7' ( price UInt32, date Date, postcode1 LowCardinality(String), postcode2 LowCardinality(String), type Enum8('other' = 0, 'terraced' = 1, 'semi-detached' = 2, 'detached' = 3, 'flat' = 4), is_new UInt8, duration Enum8('unknown' = 0, 'freehold' = 1, 'leasehold' = 2), addr1 String, addr2 String, street LowCardinality(String), locality LowCardinality(String), town LowCardinality(String), district LowCardinality(String), county LowCardinality(String) ) ENGINE = MergeTree() ORDER BY (postcode1, postcode2, addr1, addr2) SETTINGS disk = disk(type = web, endpoint = 'https://raw.githubusercontent.com/ClickHouse/web-tables-demo/main/web/') on replica1 (cluster.py:3658, query) 2026-04-10 19:30:44.075000 [ 577 ] DEBUG : Executing query ATTACH TABLE source UUID 'cf712b4f-2ca8-435c-ac23-c4393efe52f7' ( price UInt32, date Date, postcode1 LowCardinality(String), postcode2 LowCardinality(String), type Enum8('other' = 0, 'terraced' = 1, 'semi-detached' = 2, 'detached' = 3, 'flat' = 4), is_new UInt8, duration Enum8('unknown' = 0, 'freehold' = 1, 'leasehold' = 2), addr1 String, addr2 String, street LowCardinality(String), locality LowCardinality(String), town LowCardinality(String), district LowCardinality(String), county LowCardinality(String) ) ENGINE = MergeTree() ORDER BY (postcode1, postcode2, addr1, addr2) SETTINGS disk = disk(type = web, endpoint = 'https://raw.githubusercontent.com/ClickHouse/web-tables-demo/main/web/') on replica1 (cluster.py:3658, query) ___________________ test_cow_policy[cow_policy_multi_volume] ___________________ [gw1] linux -- Python 3.10.12 /usr/bin/python3 start_cluster = storage_policy = 'cow_policy_multi_volume' @pytest.mark.parametrize("storage_policy", ["cow_policy_multi_disk", "cow_policy_multi_volume"]) def test_cow_policy(start_cluster, storage_policy): try: > node.query_with_retry( f""" ATTACH TABLE uk_price_paid UUID 'cf712b4f-2ca8-435c-ac23-c4393efe52f7' ( price UInt32, date Date, postcode1 LowCardinality(String), postcode2 LowCardinality(String), type Enum8('other' = 0, 'terraced' = 1, 'semi-detached' = 2, 'detached' = 3, 'flat' = 4), is_new UInt8, duration Enum8('unknown' = 0, 'freehold' = 1, 'leasehold' = 2), addr1 String, addr2 String, street LowCardinality(String), locality LowCardinality(String), town LowCardinality(String), district LowCardinality(String), county LowCardinality(String) ) ENGINE = MergeTree ORDER BY (postcode1, postcode2, addr1, addr2) SETTINGS storage_policy = '{storage_policy}' """, timeout=60, retry_count=3, ) test_cow_policy/test.py:24: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = sql = "\n ATTACH TABLE uk_price_paid UUID 'cf712b4f-2ca8-435c-ac23-c4393efe52f7'\n (\n ...BY (postcode1, postcode2, addr1, addr2)\n SETTINGS storage_policy = 'cow_policy_multi_volume'\n " stdin = None, timeout = 60, settings = None, user = None, password = None database = None, host = None, ignore_error = False, retry_count = 3 sleep_time = 0.5 check_callback = at 0x7f479fe3c040> parse = False def query_with_retry( self, sql, stdin=None, timeout=None, settings=None, user=None, password=None, database=None, host=None, ignore_error=False, retry_count=20, sleep_time=0.5, check_callback=lambda x: True, parse=False, ): # logging.debug(f"Executing query {sql} on {self.name}") result = None exception_msg = "" for i in range(retry_count): try: result = self.query( sql, stdin=stdin, timeout=timeout, settings=settings, user=user, password=password, database=database, host=host, ignore_error=ignore_error, parse=parse, ) if check_callback(result): return result time.sleep(sleep_time) except QueryRuntimeException as ex: exception_msg = f"{type(ex).__name__}: {str(ex)}" # Container is down, this is likely due to server crash. if "No route to host" in str(ex): raise time.sleep(sleep_time) except Exception as ex: # logging.debug("Retry {} got exception {}".format(i + 1, ex)) exception_msg = f"{type(ex).__name__}: {str(ex)}" time.sleep(sleep_time) if result is not None: return result > raise Exception(f"Can't execute query {sql}\n{exception_msg}") E Exception: Can't execute query E ATTACH TABLE uk_price_paid UUID 'cf712b4f-2ca8-435c-ac23-c4393efe52f7' E ( E price UInt32, E date Date, E postcode1 LowCardinality(String), E postcode2 LowCardinality(String), E type Enum8('other' = 0, 'terraced' = 1, 'semi-detached' = 2, 'detached' = 3, 'flat' = 4), E is_new UInt8, E duration Enum8('unknown' = 0, 'freehold' = 1, 'leasehold' = 2), E addr1 String, E addr2 String, E street LowCardinality(String), E locality LowCardinality(String), E town LowCardinality(String), E district LowCardinality(String), E county LowCardinality(String) E ) E ENGINE = MergeTree E ORDER BY (postcode1, postcode2, addr1, addr2) E SETTINGS storage_policy = 'cow_policy_multi_volume' E E QueryRuntimeException: Client failed! Return code: 198, stderr: Received exception from server (version 25.3.8): E Code: 198. DB::Exception: Received from 172.16.2.2:9000. DB::NetException. DB::NetException: Not found address of host: raw.githubusercontent.com: while loading disk metadata. Stack trace: E E 0. DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000d7ed77b E 1. DB::NetException::NetException(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000d7c25c4 E 2. DB::(anonymous namespace)::hostByName(String const&) @ 0x000000000d7c4104 E 3. DB::DNSResolver::getResolvedIPAdressessWithFiltering(String const&) @ 0x000000000d7c1fb2 E 4. DB::DNSResolver::resolveIPAddressWithCache(String const&) @ 0x000000000d7c317a E 5. std::vector> std::__function::__policy_invoker> (String const&)>::__call_impl[abi:ne190107]> (String const&)>>(std::__function::__policy_storage const*, String const&) @ 0x000000000db7fa16 E 6. DB::HostResolver::update() @ 0x000000000db7aa4c E 7. DB::HostResolver::HostResolver(String, Poco::Timespan) @ 0x000000000db7a8e9 E 8. std::shared_ptr DB::HostResolver::create(String const&)::make_shared_enabler::make_shared_enabler(String const&) @ 0x000000000db7ff8d E 9. std::shared_ptr DB::HostResolver::create(String const&)::make_shared_enabler> std::allocate_shared[abi:ne190107] DB::HostResolver::create(String const&)::make_shared_enabler, std::allocator DB::HostResolver::create(String const&)::make_shared_enabler>, String const&, 0>(std::allocator DB::HostResolver::create(String const&)::make_shared_enabler> const&, String const&) @ 0x000000000db7fdf2 E 10. DB::HostResolversPool::getResolver(String const&) @ 0x000000000db7c8f3 E 11. DB::EndpointConnectionPool::getConnection(DB::ConnectionTimeouts const&, unsigned long*) @ 0x000000000db708d5 E 12. DB::makeHTTPSession(DB::HTTPConnectionGroupType, Poco::URI const&, DB::ConnectionTimeouts const&, DB::ProxyConfiguration const&, unsigned long*) @ 0x000000000db89996 E 13. DB::ReadWriteBufferFromHTTP::callImpl(Poco::Net::HTTPResponse&, String const&, std::optional const&, bool) const @ 0x000000000f6367bc E 14. DB::ReadWriteBufferFromHTTP::callWithRedirects(Poco::Net::HTTPResponse&, String const&, std::optional const&) @ 0x000000000f636bfa E 15. void std::__function::__policy_invoker::__call_impl[abi:ne190107]>(std::__function::__policy_storage const*) @ 0x000000000f63ae0c E 16. DB::ReadWriteBufferFromHTTP::doWithRetries(std::function&&, std::function, bool) const @ 0x000000000f633f1b E 17. DB::ReadWriteBufferFromHTTP::nextImpl() @ 0x000000000f638a7f E 18. DB::WebObjectStorage::loadFiles(String const&, std::unique_lock const&) const @ 0x0000000010f41405 E 19. DB::WebObjectStorage::tryGetFileInfo(String const&) const @ 0x0000000010f45003 E 20. DB::WebObjectStorage::tryGetFileInfo(String const&) const @ 0x0000000010f44bc7 E 21. DB::MetadataStorageFromStaticFilesWebServer::getStorageObjectsIfExist(String const&) const @ 0x0000000010f3ebfe E 22. DB::DiskObjectStorage::readFileIfExists(String const&, DB::ReadSettings const&, std::optional, std::optional) const @ 0x0000000010ed6790 E 23. DB::MergeTreeData::initializeDirectoriesAndFormatVersion(String const&, bool, String const&, bool) @ 0x00000000128fc126 E 24. DB::StorageMergeTree::StorageMergeTree(DB::StorageID const&, String const&, DB::StorageInMemoryMetadata const&, DB::LoadingStrictnessLevel, std::shared_ptr, String const&, DB::MergeTreeData::MergingParams const&, std::unique_ptr>) @ 0x0000000012cc84a8 E 25. DB::create(DB::StorageFactory::Arguments const&) @ 0x0000000012cc4ccc E 26. DB::StorageFactory::get(DB::ASTCreateQuery const&, String const&, std::shared_ptr, std::shared_ptr, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, DB::LoadingStrictnessLevel, bool) const @ 0x00000000122c781b E 27. DB::InterpreterCreateQuery::doCreateTable(DB::ASTCreateQuery&, DB::InterpreterCreateQuery::TableProperties const&, std::unique_ptr>&, DB::LoadingStrictnessLevel) @ 0x000000001187aa00 E 28. DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x000000001186f6c2 E 29. DB::InterpreterCreateQuery::execute() @ 0x0000000011882c18 E 30. DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*, std::shared_ptr&) @ 0x0000000011cadfab E 31. DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x0000000011ca89c4 E . (DNS_ERROR) E (query: ATTACH TABLE uk_price_paid UUID 'cf712b4f-2ca8-435c-ac23-c4393efe52f7' E ( E price UInt32, E date Date, E postcode1 LowCardinality(String), E postcode2 LowCardinality(String), E type Enum8('other' = 0, 'terraced' = 1, 'semi-detached' = 2, 'detached' = 3, 'flat' = 4), E is_new UInt8, E duration Enum8('unknown' = 0, 'freehold' = 1, 'leasehold' = 2), E addr1 String, E addr2 String, E street LowCardinality(String), E locality LowCardinality(String), E town LowCardinality(String), E district LowCardinality(String), E county LowCardinality(String) E ) E ENGINE = MergeTree E ORDER BY (postcode1, postcode2, addr1, addr2) E SETTINGS storage_policy = 'cow_policy_multi_volume' E ) helpers/cluster.py:3722: Exception ------------------------------ Captured log call ------------------------------- 2026-04-10 19:28:49.994000 [ 580 ] DEBUG : Executing query ATTACH TABLE uk_price_paid UUID 'cf712b4f-2ca8-435c-ac23-c4393efe52f7' ( price UInt32, date Date, postcode1 LowCardinality(String), postcode2 LowCardinality(String), type Enum8('other' = 0, 'terraced' = 1, 'semi-detached' = 2, 'detached' = 3, 'flat' = 4), is_new UInt8, duration Enum8('unknown' = 0, 'freehold' = 1, 'leasehold' = 2), addr1 String, addr2 String, street LowCardinality(String), locality LowCardinality(String), town LowCardinality(String), district LowCardinality(String), county LowCardinality(String) ) ENGINE = MergeTree ORDER BY (postcode1, postcode2, addr1, addr2) SETTINGS storage_policy = 'cow_policy_multi_volume' on node (cluster.py:3658, query) 2026-04-10 19:29:44.909000 [ 580 ] DEBUG : Executing query ATTACH TABLE uk_price_paid UUID 'cf712b4f-2ca8-435c-ac23-c4393efe52f7' ( price UInt32, date Date, postcode1 LowCardinality(String), postcode2 LowCardinality(String), type Enum8('other' = 0, 'terraced' = 1, 'semi-detached' = 2, 'detached' = 3, 'flat' = 4), is_new UInt8, duration Enum8('unknown' = 0, 'freehold' = 1, 'leasehold' = 2), addr1 String, addr2 String, street LowCardinality(String), locality LowCardinality(String), town LowCardinality(String), district LowCardinality(String), county LowCardinality(String) ) ENGINE = MergeTree ORDER BY (postcode1, postcode2, addr1, addr2) SETTINGS storage_policy = 'cow_policy_multi_volume' on node (cluster.py:3658, query) 2026-04-10 19:30:41.836000 [ 580 ] DEBUG : Executing query ATTACH TABLE uk_price_paid UUID 'cf712b4f-2ca8-435c-ac23-c4393efe52f7' ( price UInt32, date Date, postcode1 LowCardinality(String), postcode2 LowCardinality(String), type Enum8('other' = 0, 'terraced' = 1, 'semi-detached' = 2, 'detached' = 3, 'flat' = 4), is_new UInt8, duration Enum8('unknown' = 0, 'freehold' = 1, 'leasehold' = 2), addr1 String, addr2 String, street LowCardinality(String), locality LowCardinality(String), town LowCardinality(String), district LowCardinality(String), county LowCardinality(String) ) ENGINE = MergeTree ORDER BY (postcode1, postcode2, addr1, addr2) SETTINGS storage_policy = 'cow_policy_multi_volume' on node (cluster.py:3658, query) 2026-04-10 19:31:39.455000 [ 580 ] DEBUG : Executing query DROP TABLE IF EXISTS uk_price_paid SYNC on node (cluster.py:3658, query) ---------------------------- Captured log teardown ----------------------------- 2026-04-10 19:31:39.643000 [ 580 ] DEBUG : Command:[docker compose --env-file /ClickHouse/tests/integration/test_cow_policy/_instances-1-gw1/.env --project-name roottestcowpolicy-gw1 --file /ClickHouse/tests/integration/test_cow_policy/_instances-1-gw1/node/docker-compose.yml stop --timeout 20] (cluster.py:121, run_and_check) 2026-04-10 19:31:45.921000 [ 580 ] DEBUG : Stderr: Container roottestcowpolicy-gw1-node-1 Stopping (cluster.py:147, run_and_check) 2026-04-10 19:31:45.921000 [ 580 ] DEBUG : Stderr: Container roottestcowpolicy-gw1-node-1 Stopped (cluster.py:147, run_and_check) 2026-04-10 19:31:45.922000 [ 580 ] DEBUG : Command:[bash -c [ -f /ClickHouse/tests/integration/test_cow_policy/_instances-1-gw1/node/logs/stderr.log ] && zgrep -aH "==================" /ClickHouse/tests/integration/test_cow_policy/_instances-1-gw1/node/logs/stderr.log* | ( [ -z "" ] && cat || grep -v "$" ) || true] (cluster.py:121, run_and_check) 2026-04-10 19:31:45.936000 [ 580 ] DEBUG : Command:[docker compose --env-file /ClickHouse/tests/integration/test_cow_policy/_instances-1-gw1/.env --project-name roottestcowpolicy-gw1 --file /ClickHouse/tests/integration/test_cow_policy/_instances-1-gw1/node/docker-compose.yml down --volumes] (cluster.py:121, run_and_check) 2026-04-10 19:31:46.543000 [ 580 ] DEBUG : Stderr: Container roottestcowpolicy-gw1-node-1 Stopping (cluster.py:147, run_and_check) 2026-04-10 19:31:46.543000 [ 580 ] DEBUG : Stderr: Container roottestcowpolicy-gw1-node-1 Stopped (cluster.py:147, run_and_check) 2026-04-10 19:31:46.544000 [ 580 ] DEBUG : Stderr: Container roottestcowpolicy-gw1-node-1 Removing (cluster.py:147, run_and_check) 2026-04-10 19:31:46.544000 [ 580 ] DEBUG : Stderr: Container roottestcowpolicy-gw1-node-1 Removed (cluster.py:147, run_and_check) 2026-04-10 19:31:46.544000 [ 580 ] DEBUG : Stderr: Network roottestcowpolicy-gw1_default Removing (cluster.py:147, run_and_check) 2026-04-10 19:31:46.544000 [ 580 ] DEBUG : Stderr: Network roottestcowpolicy-gw1_default Removed (cluster.py:147, run_and_check) 2026-04-10 19:31:46.544000 [ 580 ] DEBUG : Cleanup called (cluster.py:861, cleanup) 2026-04-10 19:31:46.575000 [ 580 ] DEBUG : Docker networks for project roottestcowpolicy-gw1 are NETWORK ID NAME DRIVER SCOPE (cluster.py:840, print_all_docker_pieces) 2026-04-10 19:31:46.606000 [ 580 ] DEBUG : Docker containers for project roottestcowpolicy-gw1 are CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES (cluster.py:848, print_all_docker_pieces) 2026-04-10 19:31:46.636000 [ 580 ] DEBUG : Docker volumes for project roottestcowpolicy-gw1 are DRIVER VOLUME NAME (cluster.py:856, print_all_docker_pieces) 2026-04-10 19:31:46.637000 [ 580 ] DEBUG : Command:[docker container list --all --filter name='^/roottestcowpolicy-gw1-.*-1$' --format '{{.ID}}:{{.Names}}'] (cluster.py:121, run_and_check) 2026-04-10 19:31:46.674000 [ 580 ] DEBUG : Unstopped containers: {} (cluster.py:875, cleanup) 2026-04-10 19:31:46.674000 [ 580 ] DEBUG : No running containers for project: roottestcowpolicy-gw1 (cluster.py:889, cleanup) 2026-04-10 19:31:46.674000 [ 580 ] DEBUG : Trying to prune unused networks... (cluster.py:895, cleanup) 2026-04-10 19:31:46.710000 [ 580 ] DEBUG : Trying to prune unused images... (cluster.py:911, cleanup) 2026-04-10 19:31:46.711000 [ 580 ] DEBUG : Command:[docker image prune -f] (cluster.py:121, run_and_check) 2026-04-10 19:31:46.742000 [ 580 ] DEBUG : Stdout:Total reclaimed space: 0B (cluster.py:145, run_and_check) 2026-04-10 19:31:46.742000 [ 580 ] DEBUG : Images pruned (cluster.py:914, cleanup) 2026-04-10 19:31:46.742000 [ 580 ] DEBUG : Trying to prune unused volumes... (cluster.py:920, cleanup) 2026-04-10 19:31:46.743000 [ 580 ] DEBUG : Command:[docker volume ls | wc -l] (cluster.py:121, run_and_check) 2026-04-10 19:31:46.777000 [ 580 ] DEBUG : Stdout:1 (cluster.py:145, run_and_check) 2026-04-10 19:31:46.777000 [ 580 ] DEBUG : Volumes pruned: 1 (cluster.py:925, cleanup) _______________________ test_not_work_on_different_disk ________________________ [gw0] linux -- Python 3.10.12 /usr/bin/python3 start_cluster = def test_not_work_on_different_disk(start_cluster): cleanup([replica1, replica2]) # Replace and move should not work on replace > create_source_table(replica1, "source", False) test_attach_partition_using_copy/test.py:199: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_attach_partition_using_copy/test.py:40: in create_source_table node.query_with_retry( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = sql = "\n ATTACH TABLE source UUID 'cf712b4f-2ca8-435c-ac23-c4393efe52f7'\n (\n price UInt32,\n ...disk = disk(type = web, endpoint = 'https://raw.githubusercontent.com/ClickHouse/web-tables-demo/main/web/')\n " stdin = None, timeout = 60, settings = None, user = None, password = None database = None, host = None, ignore_error = False, retry_count = 3 sleep_time = 0.5 check_callback = at 0x7fa5c825c040> parse = False def query_with_retry( self, sql, stdin=None, timeout=None, settings=None, user=None, password=None, database=None, host=None, ignore_error=False, retry_count=20, sleep_time=0.5, check_callback=lambda x: True, parse=False, ): # logging.debug(f"Executing query {sql} on {self.name}") result = None exception_msg = "" for i in range(retry_count): try: result = self.query( sql, stdin=stdin, timeout=timeout, settings=settings, user=user, password=password, database=database, host=host, ignore_error=ignore_error, parse=parse, ) if check_callback(result): return result time.sleep(sleep_time) except QueryRuntimeException as ex: exception_msg = f"{type(ex).__name__}: {str(ex)}" # Container is down, this is likely due to server crash. if "No route to host" in str(ex): raise time.sleep(sleep_time) except Exception as ex: # logging.debug("Retry {} got exception {}".format(i + 1, ex)) exception_msg = f"{type(ex).__name__}: {str(ex)}" time.sleep(sleep_time) if result is not None: return result > raise Exception(f"Can't execute query {sql}\n{exception_msg}") E Exception: Can't execute query E ATTACH TABLE source UUID 'cf712b4f-2ca8-435c-ac23-c4393efe52f7' E ( E price UInt32, E date Date, E postcode1 LowCardinality(String), E postcode2 LowCardinality(String), E type Enum8('other' = 0, 'terraced' = 1, 'semi-detached' = 2, 'detached' = 3, 'flat' = 4), E is_new UInt8, E duration Enum8('unknown' = 0, 'freehold' = 1, 'leasehold' = 2), E addr1 String, E addr2 String, E street LowCardinality(String), E locality LowCardinality(String), E town LowCardinality(String), E district LowCardinality(String), E county LowCardinality(String) E ) E ENGINE = MergeTree() E ORDER BY (postcode1, postcode2, addr1, addr2) E SETTINGS disk = disk(type = web, endpoint = 'https://raw.githubusercontent.com/ClickHouse/web-tables-demo/main/web/') E E QueryRuntimeException: Client failed! Return code: 198, stderr: Received exception from server (version 25.3.8): E Code: 198. DB::Exception: Received from 172.16.1.5:9000. DB::NetException. DB::NetException: Not found address of host: raw.githubusercontent.com: while loading disk metadata. Stack trace: E E 0. DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000d7ed77b E 1. DB::NetException::NetException(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000d7c25c4 E 2. DB::(anonymous namespace)::hostByName(String const&) @ 0x000000000d7c4104 E 3. DB::DNSResolver::getResolvedIPAdressessWithFiltering(String const&) @ 0x000000000d7c1fb2 E 4. DB::DNSResolver::resolveIPAddressWithCache(String const&) @ 0x000000000d7c317a E 5. std::vector> std::__function::__policy_invoker> (String const&)>::__call_impl[abi:ne190107]> (String const&)>>(std::__function::__policy_storage const*, String const&) @ 0x000000000db7fa16 E 6. DB::HostResolver::update() @ 0x000000000db7aa4c E 7. DB::HostResolver::HostResolver(String, Poco::Timespan) @ 0x000000000db7a8e9 E 8. std::shared_ptr DB::HostResolver::create(String const&)::make_shared_enabler::make_shared_enabler(String const&) @ 0x000000000db7ff8d E 9. std::shared_ptr DB::HostResolver::create(String const&)::make_shared_enabler> std::allocate_shared[abi:ne190107] DB::HostResolver::create(String const&)::make_shared_enabler, std::allocator DB::HostResolver::create(String const&)::make_shared_enabler>, String const&, 0>(std::allocator DB::HostResolver::create(String const&)::make_shared_enabler> const&, String const&) @ 0x000000000db7fdf2 E 10. DB::HostResolversPool::getResolver(String const&) @ 0x000000000db7c8f3 E 11. DB::EndpointConnectionPool::getConnection(DB::ConnectionTimeouts const&, unsigned long*) @ 0x000000000db708d5 E 12. DB::makeHTTPSession(DB::HTTPConnectionGroupType, Poco::URI const&, DB::ConnectionTimeouts const&, DB::ProxyConfiguration const&, unsigned long*) @ 0x000000000db89996 E 13. DB::ReadWriteBufferFromHTTP::callImpl(Poco::Net::HTTPResponse&, String const&, std::optional const&, bool) const @ 0x000000000f6367bc E 14. DB::ReadWriteBufferFromHTTP::callWithRedirects(Poco::Net::HTTPResponse&, String const&, std::optional const&) @ 0x000000000f636bfa E 15. void std::__function::__policy_invoker::__call_impl[abi:ne190107]>(std::__function::__policy_storage const*) @ 0x000000000f63ae0c E 16. DB::ReadWriteBufferFromHTTP::doWithRetries(std::function&&, std::function, bool) const @ 0x000000000f633f1b E 17. DB::ReadWriteBufferFromHTTP::nextImpl() @ 0x000000000f638a7f E 18. DB::WebObjectStorage::loadFiles(String const&, std::unique_lock const&) const @ 0x0000000010f41405 E 19. DB::WebObjectStorage::tryGetFileInfo(String const&) const @ 0x0000000010f45003 E 20. DB::WebObjectStorage::tryGetFileInfo(String const&) const @ 0x0000000010f44bc7 E 21. DB::MetadataStorageFromStaticFilesWebServer::getStorageObjectsIfExist(String const&) const @ 0x0000000010f3ebfe E 22. DB::DiskObjectStorage::readFileIfExists(String const&, DB::ReadSettings const&, std::optional, std::optional) const @ 0x0000000010ed6790 E 23. DB::MergeTreeData::initializeDirectoriesAndFormatVersion(String const&, bool, String const&, bool) @ 0x00000000128fc126 E 24. DB::StorageMergeTree::StorageMergeTree(DB::StorageID const&, String const&, DB::StorageInMemoryMetadata const&, DB::LoadingStrictnessLevel, std::shared_ptr, String const&, DB::MergeTreeData::MergingParams const&, std::unique_ptr>) @ 0x0000000012cc84a8 E 25. DB::create(DB::StorageFactory::Arguments const&) @ 0x0000000012cc4ccc E 26. DB::StorageFactory::get(DB::ASTCreateQuery const&, String const&, std::shared_ptr, std::shared_ptr, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, DB::LoadingStrictnessLevel, bool) const @ 0x00000000122c781b E 27. DB::InterpreterCreateQuery::doCreateTable(DB::ASTCreateQuery&, DB::InterpreterCreateQuery::TableProperties const&, std::unique_ptr>&, DB::LoadingStrictnessLevel) @ 0x000000001187aa00 E 28. DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x000000001186f6c2 E 29. DB::InterpreterCreateQuery::execute() @ 0x0000000011882c18 E 30. DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*, std::shared_ptr&) @ 0x0000000011cadfab E 31. DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x0000000011ca89c4 E . (DNS_ERROR) E (query: ATTACH TABLE source UUID 'cf712b4f-2ca8-435c-ac23-c4393efe52f7' E ( E price UInt32, E date Date, E postcode1 LowCardinality(String), E postcode2 LowCardinality(String), E type Enum8('other' = 0, 'terraced' = 1, 'semi-detached' = 2, 'detached' = 3, 'flat' = 4), E is_new UInt8, E duration Enum8('unknown' = 0, 'freehold' = 1, 'leasehold' = 2), E addr1 String, E addr2 String, E street LowCardinality(String), E locality LowCardinality(String), E town LowCardinality(String), E district LowCardinality(String), E county LowCardinality(String) E ) E ENGINE = MergeTree() E ORDER BY (postcode1, postcode2, addr1, addr2) E SETTINGS disk = disk(type = web, endpoint = 'https://raw.githubusercontent.com/ClickHouse/web-tables-demo/main/web/') E ) helpers/cluster.py:3722: Exception ------------------------------ Captured log call ------------------------------- 2026-04-10 19:31:39.090000 [ 577 ] DEBUG : Executing query DROP TABLE IF EXISTS source SYNC on replica1 (cluster.py:3658, query) 2026-04-10 19:31:39.156000 [ 577 ] DEBUG : Executing query DROP TABLE IF EXISTS destination SYNC on replica1 (cluster.py:3658, query) 2026-04-10 19:31:39.222000 [ 577 ] DEBUG : Executing query DROP TABLE IF EXISTS source SYNC on replica2 (cluster.py:3658, query) 2026-04-10 19:31:39.338000 [ 577 ] DEBUG : Executing query DROP TABLE IF EXISTS destination SYNC on replica2 (cluster.py:3658, query) 2026-04-10 19:31:39.404000 [ 577 ] DEBUG : Executing query ATTACH TABLE source UUID 'cf712b4f-2ca8-435c-ac23-c4393efe52f7' ( price UInt32, date Date, postcode1 LowCardinality(String), postcode2 LowCardinality(String), type Enum8('other' = 0, 'terraced' = 1, 'semi-detached' = 2, 'detached' = 3, 'flat' = 4), is_new UInt8, duration Enum8('unknown' = 0, 'freehold' = 1, 'leasehold' = 2), addr1 String, addr2 String, street LowCardinality(String), locality LowCardinality(String), town LowCardinality(String), district LowCardinality(String), county LowCardinality(String) ) ENGINE = MergeTree() ORDER BY (postcode1, postcode2, addr1, addr2) SETTINGS disk = disk(type = web, endpoint = 'https://raw.githubusercontent.com/ClickHouse/web-tables-demo/main/web/') on replica1 (cluster.py:3658, query) 2026-04-10 19:32:35.109000 [ 577 ] DEBUG : Executing query ATTACH TABLE source UUID 'cf712b4f-2ca8-435c-ac23-c4393efe52f7' ( price UInt32, date Date, postcode1 LowCardinality(String), postcode2 LowCardinality(String), type Enum8('other' = 0, 'terraced' = 1, 'semi-detached' = 2, 'detached' = 3, 'flat' = 4), is_new UInt8, duration Enum8('unknown' = 0, 'freehold' = 1, 'leasehold' = 2), addr1 String, addr2 String, street LowCardinality(String), locality LowCardinality(String), town LowCardinality(String), district LowCardinality(String), county LowCardinality(String) ) ENGINE = MergeTree() ORDER BY (postcode1, postcode2, addr1, addr2) SETTINGS disk = disk(type = web, endpoint = 'https://raw.githubusercontent.com/ClickHouse/web-tables-demo/main/web/') on replica1 (cluster.py:3658, query) 2026-04-10 19:33:32.732000 [ 577 ] DEBUG : Executing query ATTACH TABLE source UUID 'cf712b4f-2ca8-435c-ac23-c4393efe52f7' ( price UInt32, date Date, postcode1 LowCardinality(String), postcode2 LowCardinality(String), type Enum8('other' = 0, 'terraced' = 1, 'semi-detached' = 2, 'detached' = 3, 'flat' = 4), is_new UInt8, duration Enum8('unknown' = 0, 'freehold' = 1, 'leasehold' = 2), addr1 String, addr2 String, street LowCardinality(String), locality LowCardinality(String), town LowCardinality(String), district LowCardinality(String), county LowCardinality(String) ) ENGINE = MergeTree() ORDER BY (postcode1, postcode2, addr1, addr2) SETTINGS disk = disk(type = web, endpoint = 'https://raw.githubusercontent.com/ClickHouse/web-tables-demo/main/web/') on replica1 (cluster.py:3658, query) _______________________ test_only_destination_replicated _______________________ [gw0] linux -- Python 3.10.12 /usr/bin/python3 start_cluster = def test_only_destination_replicated(start_cluster): cleanup([replica1, replica2]) > create_source_table(replica1, "source", False) test_attach_partition_using_copy/test.py:163: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_attach_partition_using_copy/test.py:40: in create_source_table node.query_with_retry( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = sql = "\n ATTACH TABLE source UUID 'cf712b4f-2ca8-435c-ac23-c4393efe52f7'\n (\n price UInt32,\n ...disk = disk(type = web, endpoint = 'https://raw.githubusercontent.com/ClickHouse/web-tables-demo/main/web/')\n " stdin = None, timeout = 60, settings = None, user = None, password = None database = None, host = None, ignore_error = False, retry_count = 3 sleep_time = 0.5 check_callback = at 0x7fa5c825c040> parse = False def query_with_retry( self, sql, stdin=None, timeout=None, settings=None, user=None, password=None, database=None, host=None, ignore_error=False, retry_count=20, sleep_time=0.5, check_callback=lambda x: True, parse=False, ): # logging.debug(f"Executing query {sql} on {self.name}") result = None exception_msg = "" for i in range(retry_count): try: result = self.query( sql, stdin=stdin, timeout=timeout, settings=settings, user=user, password=password, database=database, host=host, ignore_error=ignore_error, parse=parse, ) if check_callback(result): return result time.sleep(sleep_time) except QueryRuntimeException as ex: exception_msg = f"{type(ex).__name__}: {str(ex)}" # Container is down, this is likely due to server crash. if "No route to host" in str(ex): raise time.sleep(sleep_time) except Exception as ex: # logging.debug("Retry {} got exception {}".format(i + 1, ex)) exception_msg = f"{type(ex).__name__}: {str(ex)}" time.sleep(sleep_time) if result is not None: return result > raise Exception(f"Can't execute query {sql}\n{exception_msg}") E Exception: Can't execute query E ATTACH TABLE source UUID 'cf712b4f-2ca8-435c-ac23-c4393efe52f7' E ( E price UInt32, E date Date, E postcode1 LowCardinality(String), E postcode2 LowCardinality(String), E type Enum8('other' = 0, 'terraced' = 1, 'semi-detached' = 2, 'detached' = 3, 'flat' = 4), E is_new UInt8, E duration Enum8('unknown' = 0, 'freehold' = 1, 'leasehold' = 2), E addr1 String, E addr2 String, E street LowCardinality(String), E locality LowCardinality(String), E town LowCardinality(String), E district LowCardinality(String), E county LowCardinality(String) E ) E ENGINE = MergeTree() E ORDER BY (postcode1, postcode2, addr1, addr2) E SETTINGS disk = disk(type = web, endpoint = 'https://raw.githubusercontent.com/ClickHouse/web-tables-demo/main/web/') E E QueryRuntimeException: Client failed! Return code: 198, stderr: Received exception from server (version 25.3.8): E Code: 198. DB::Exception: Received from 172.16.1.5:9000. DB::NetException. DB::NetException: Not found address of host: raw.githubusercontent.com: while loading disk metadata. Stack trace: E E 0. DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000d7ed77b E 1. DB::NetException::NetException(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000d7c25c4 E 2. DB::(anonymous namespace)::hostByName(String const&) @ 0x000000000d7c4104 E 3. DB::DNSResolver::getResolvedIPAdressessWithFiltering(String const&) @ 0x000000000d7c1fb2 E 4. DB::DNSResolver::resolveIPAddressWithCache(String const&) @ 0x000000000d7c317a E 5. std::vector> std::__function::__policy_invoker> (String const&)>::__call_impl[abi:ne190107]> (String const&)>>(std::__function::__policy_storage const*, String const&) @ 0x000000000db7fa16 E 6. DB::HostResolver::update() @ 0x000000000db7aa4c E 7. DB::HostResolver::HostResolver(String, Poco::Timespan) @ 0x000000000db7a8e9 E 8. std::shared_ptr DB::HostResolver::create(String const&)::make_shared_enabler::make_shared_enabler(String const&) @ 0x000000000db7ff8d E 9. std::shared_ptr DB::HostResolver::create(String const&)::make_shared_enabler> std::allocate_shared[abi:ne190107] DB::HostResolver::create(String const&)::make_shared_enabler, std::allocator DB::HostResolver::create(String const&)::make_shared_enabler>, String const&, 0>(std::allocator DB::HostResolver::create(String const&)::make_shared_enabler> const&, String const&) @ 0x000000000db7fdf2 E 10. DB::HostResolversPool::getResolver(String const&) @ 0x000000000db7c8f3 E 11. DB::EndpointConnectionPool::getConnection(DB::ConnectionTimeouts const&, unsigned long*) @ 0x000000000db708d5 E 12. DB::makeHTTPSession(DB::HTTPConnectionGroupType, Poco::URI const&, DB::ConnectionTimeouts const&, DB::ProxyConfiguration const&, unsigned long*) @ 0x000000000db89996 E 13. DB::ReadWriteBufferFromHTTP::callImpl(Poco::Net::HTTPResponse&, String const&, std::optional const&, bool) const @ 0x000000000f6367bc E 14. DB::ReadWriteBufferFromHTTP::callWithRedirects(Poco::Net::HTTPResponse&, String const&, std::optional const&) @ 0x000000000f636bfa E 15. void std::__function::__policy_invoker::__call_impl[abi:ne190107]>(std::__function::__policy_storage const*) @ 0x000000000f63ae0c E 16. DB::ReadWriteBufferFromHTTP::doWithRetries(std::function&&, std::function, bool) const @ 0x000000000f633f1b E 17. DB::ReadWriteBufferFromHTTP::nextImpl() @ 0x000000000f638a7f E 18. DB::WebObjectStorage::loadFiles(String const&, std::unique_lock const&) const @ 0x0000000010f41405 E 19. DB::WebObjectStorage::tryGetFileInfo(String const&) const @ 0x0000000010f45003 E 20. DB::WebObjectStorage::tryGetFileInfo(String const&) const @ 0x0000000010f44bc7 E 21. DB::MetadataStorageFromStaticFilesWebServer::getStorageObjectsIfExist(String const&) const @ 0x0000000010f3ebfe E 22. DB::DiskObjectStorage::readFileIfExists(String const&, DB::ReadSettings const&, std::optional, std::optional) const @ 0x0000000010ed6790 E 23. DB::MergeTreeData::initializeDirectoriesAndFormatVersion(String const&, bool, String const&, bool) @ 0x00000000128fc126 E 24. DB::StorageMergeTree::StorageMergeTree(DB::StorageID const&, String const&, DB::StorageInMemoryMetadata const&, DB::LoadingStrictnessLevel, std::shared_ptr, String const&, DB::MergeTreeData::MergingParams const&, std::unique_ptr>) @ 0x0000000012cc84a8 E 25. DB::create(DB::StorageFactory::Arguments const&) @ 0x0000000012cc4ccc E 26. DB::StorageFactory::get(DB::ASTCreateQuery const&, String const&, std::shared_ptr, std::shared_ptr, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, DB::LoadingStrictnessLevel, bool) const @ 0x00000000122c781b E 27. DB::InterpreterCreateQuery::doCreateTable(DB::ASTCreateQuery&, DB::InterpreterCreateQuery::TableProperties const&, std::unique_ptr>&, DB::LoadingStrictnessLevel) @ 0x000000001187aa00 E 28. DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x000000001186f6c2 E 29. DB::InterpreterCreateQuery::execute() @ 0x0000000011882c18 E 30. DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*, std::shared_ptr&) @ 0x0000000011cadfab E 31. DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x0000000011ca89c4 E . (DNS_ERROR) E (query: ATTACH TABLE source UUID 'cf712b4f-2ca8-435c-ac23-c4393efe52f7' E ( E price UInt32, E date Date, E postcode1 LowCardinality(String), E postcode2 LowCardinality(String), E type Enum8('other' = 0, 'terraced' = 1, 'semi-detached' = 2, 'detached' = 3, 'flat' = 4), E is_new UInt8, E duration Enum8('unknown' = 0, 'freehold' = 1, 'leasehold' = 2), E addr1 String, E addr2 String, E street LowCardinality(String), E locality LowCardinality(String), E town LowCardinality(String), E district LowCardinality(String), E county LowCardinality(String) E ) E ENGINE = MergeTree() E ORDER BY (postcode1, postcode2, addr1, addr2) E SETTINGS disk = disk(type = web, endpoint = 'https://raw.githubusercontent.com/ClickHouse/web-tables-demo/main/web/') E ) helpers/cluster.py:3722: Exception ------------------------------ Captured log call ------------------------------- 2026-04-10 19:34:27.434000 [ 577 ] DEBUG : Executing query DROP TABLE IF EXISTS source SYNC on replica1 (cluster.py:3658, query) 2026-04-10 19:34:27.499000 [ 577 ] DEBUG : Executing query DROP TABLE IF EXISTS destination SYNC on replica1 (cluster.py:3658, query) 2026-04-10 19:34:27.564000 [ 577 ] DEBUG : Executing query DROP TABLE IF EXISTS source SYNC on replica2 (cluster.py:3658, query) 2026-04-10 19:34:27.630000 [ 577 ] DEBUG : Executing query DROP TABLE IF EXISTS destination SYNC on replica2 (cluster.py:3658, query) 2026-04-10 19:34:27.695000 [ 577 ] DEBUG : Executing query ATTACH TABLE source UUID 'cf712b4f-2ca8-435c-ac23-c4393efe52f7' ( price UInt32, date Date, postcode1 LowCardinality(String), postcode2 LowCardinality(String), type Enum8('other' = 0, 'terraced' = 1, 'semi-detached' = 2, 'detached' = 3, 'flat' = 4), is_new UInt8, duration Enum8('unknown' = 0, 'freehold' = 1, 'leasehold' = 2), addr1 String, addr2 String, street LowCardinality(String), locality LowCardinality(String), town LowCardinality(String), district LowCardinality(String), county LowCardinality(String) ) ENGINE = MergeTree() ORDER BY (postcode1, postcode2, addr1, addr2) SETTINGS disk = disk(type = web, endpoint = 'https://raw.githubusercontent.com/ClickHouse/web-tables-demo/main/web/') on replica1 (cluster.py:3658, query) 2026-04-10 19:35:22.529000 [ 577 ] DEBUG : Executing query ATTACH TABLE source UUID 'cf712b4f-2ca8-435c-ac23-c4393efe52f7' ( price UInt32, date Date, postcode1 LowCardinality(String), postcode2 LowCardinality(String), type Enum8('other' = 0, 'terraced' = 1, 'semi-detached' = 2, 'detached' = 3, 'flat' = 4), is_new UInt8, duration Enum8('unknown' = 0, 'freehold' = 1, 'leasehold' = 2), addr1 String, addr2 String, street LowCardinality(String), locality LowCardinality(String), town LowCardinality(String), district LowCardinality(String), county LowCardinality(String) ) ENGINE = MergeTree() ORDER BY (postcode1, postcode2, addr1, addr2) SETTINGS disk = disk(type = web, endpoint = 'https://raw.githubusercontent.com/ClickHouse/web-tables-demo/main/web/') on replica1 (cluster.py:3658, query) 2026-04-10 19:36:19.417000 [ 577 ] DEBUG : Executing query ATTACH TABLE source UUID 'cf712b4f-2ca8-435c-ac23-c4393efe52f7' ( price UInt32, date Date, postcode1 LowCardinality(String), postcode2 LowCardinality(String), type Enum8('other' = 0, 'terraced' = 1, 'semi-detached' = 2, 'detached' = 3, 'flat' = 4), is_new UInt8, duration Enum8('unknown' = 0, 'freehold' = 1, 'leasehold' = 2), addr1 String, addr2 String, street LowCardinality(String), locality LowCardinality(String), town LowCardinality(String), district LowCardinality(String), county LowCardinality(String) ) ENGINE = MergeTree() ORDER BY (postcode1, postcode2, addr1, addr2) SETTINGS disk = disk(type = web, endpoint = 'https://raw.githubusercontent.com/ClickHouse/web-tables-demo/main/web/') on replica1 (cluster.py:3658, query) ---------------------------- Captured log teardown ----------------------------- 2026-04-10 19:37:17.214000 [ 577 ] DEBUG : Command:[docker compose --env-file /ClickHouse/tests/integration/test_attach_partition_using_copy/_instances-1-gw0/.env --project-name roottestattachpartitionusingcopy-gw0 --file /ClickHouse/tests/integration/test_attach_partition_using_copy/_instances-1-gw0/replica1/docker-compose.yml --file /ClickHouse/tests/integration/helpers/../../../tests/integration/compose/docker_compose_keeper.yml --file /ClickHouse/tests/integration/test_attach_partition_using_copy/_instances-1-gw0/replica2/docker-compose.yml stop --timeout 20] (cluster.py:121, run_and_check) 2026-04-10 19:37:24.242000 [ 577 ] DEBUG : Stderr: Container roottestattachpartitionusingcopy-gw0-replica1-1 Stopping (cluster.py:147, run_and_check) 2026-04-10 19:37:24.242000 [ 577 ] DEBUG : Stderr: Container roottestattachpartitionusingcopy-gw0-replica2-1 Stopping (cluster.py:147, run_and_check) 2026-04-10 19:37:24.243000 [ 577 ] DEBUG : Stderr: Container roottestattachpartitionusingcopy-gw0-replica2-1 Stopped (cluster.py:147, run_and_check) 2026-04-10 19:37:24.243000 [ 577 ] DEBUG : Stderr: Container roottestattachpartitionusingcopy-gw0-replica1-1 Stopped (cluster.py:147, run_and_check) 2026-04-10 19:37:24.243000 [ 577 ] DEBUG : Stderr: Container roottestattachpartitionusingcopy-gw0-zoo3-1 Stopping (cluster.py:147, run_and_check) 2026-04-10 19:37:24.243000 [ 577 ] DEBUG : Stderr: Container roottestattachpartitionusingcopy-gw0-zoo1-1 Stopping (cluster.py:147, run_and_check) 2026-04-10 19:37:24.243000 [ 577 ] DEBUG : Stderr: Container roottestattachpartitionusingcopy-gw0-zoo2-1 Stopping (cluster.py:147, run_and_check) 2026-04-10 19:37:24.243000 [ 577 ] DEBUG : Stderr: Container roottestattachpartitionusingcopy-gw0-zoo1-1 Stopped (cluster.py:147, run_and_check) 2026-04-10 19:37:24.243000 [ 577 ] DEBUG : Stderr: Container roottestattachpartitionusingcopy-gw0-zoo3-1 Stopped (cluster.py:147, run_and_check) 2026-04-10 19:37:24.243000 [ 577 ] DEBUG : Stderr: Container roottestattachpartitionusingcopy-gw0-zoo2-1 Stopped (cluster.py:147, run_and_check) 2026-04-10 19:37:24.244000 [ 577 ] DEBUG : Command:[bash -c [ -f /ClickHouse/tests/integration/test_attach_partition_using_copy/_instances-1-gw0/replica1/logs/stderr.log ] && zgrep -aH "==================" /ClickHouse/tests/integration/test_attach_partition_using_copy/_instances-1-gw0/replica1/logs/stderr.log* | ( [ -z "" ] && cat || grep -v "$" ) || true] (cluster.py:121, run_and_check) 2026-04-10 19:37:24.255000 [ 577 ] DEBUG : Command:[bash -c [ -f /ClickHouse/tests/integration/test_attach_partition_using_copy/_instances-1-gw0/replica2/logs/stderr.log ] && zgrep -aH "==================" /ClickHouse/tests/integration/test_attach_partition_using_copy/_instances-1-gw0/replica2/logs/stderr.log* | ( [ -z "" ] && cat || grep -v "$" ) || true] (cluster.py:121, run_and_check) 2026-04-10 19:37:24.266000 [ 577 ] DEBUG : Command:[docker compose --env-file /ClickHouse/tests/integration/test_attach_partition_using_copy/_instances-1-gw0/.env --project-name roottestattachpartitionusingcopy-gw0 --file /ClickHouse/tests/integration/test_attach_partition_using_copy/_instances-1-gw0/replica1/docker-compose.yml --file /ClickHouse/tests/integration/helpers/../../../tests/integration/compose/docker_compose_keeper.yml --file /ClickHouse/tests/integration/test_attach_partition_using_copy/_instances-1-gw0/replica2/docker-compose.yml down --volumes] (cluster.py:121, run_and_check) 2026-04-10 19:37:24.704000 [ 577 ] DEBUG : Stderr: Container roottestattachpartitionusingcopy-gw0-replica1-1 Stopping (cluster.py:147, run_and_check) 2026-04-10 19:37:24.705000 [ 577 ] DEBUG : Stderr: Container roottestattachpartitionusingcopy-gw0-replica2-1 Stopping (cluster.py:147, run_and_check) 2026-04-10 19:37:24.705000 [ 577 ] DEBUG : Stderr: Container roottestattachpartitionusingcopy-gw0-replica1-1 Stopped (cluster.py:147, run_and_check) 2026-04-10 19:37:24.705000 [ 577 ] DEBUG : Stderr: Container roottestattachpartitionusingcopy-gw0-replica1-1 Removing (cluster.py:147, run_and_check) 2026-04-10 19:37:24.705000 [ 577 ] DEBUG : Stderr: Container roottestattachpartitionusingcopy-gw0-replica2-1 Stopped (cluster.py:147, run_and_check) 2026-04-10 19:37:24.705000 [ 577 ] DEBUG : Stderr: Container roottestattachpartitionusingcopy-gw0-replica2-1 Removing (cluster.py:147, run_and_check) 2026-04-10 19:37:24.705000 [ 577 ] DEBUG : Stderr: Container roottestattachpartitionusingcopy-gw0-replica2-1 Removed (cluster.py:147, run_and_check) 2026-04-10 19:37:24.705000 [ 577 ] DEBUG : Stderr: Container roottestattachpartitionusingcopy-gw0-replica1-1 Removed (cluster.py:147, run_and_check) 2026-04-10 19:37:24.705000 [ 577 ] DEBUG : Stderr: Container roottestattachpartitionusingcopy-gw0-zoo2-1 Stopping (cluster.py:147, run_and_check) 2026-04-10 19:37:24.705000 [ 577 ] DEBUG : Stderr: Container roottestattachpartitionusingcopy-gw0-zoo1-1 Stopping (cluster.py:147, run_and_check) 2026-04-10 19:37:24.705000 [ 577 ] DEBUG : Stderr: Container roottestattachpartitionusingcopy-gw0-zoo3-1 Stopping (cluster.py:147, run_and_check) 2026-04-10 19:37:24.705000 [ 577 ] DEBUG : Stderr: Container roottestattachpartitionusingcopy-gw0-zoo2-1 Stopped (cluster.py:147, run_and_check) 2026-04-10 19:37:24.705000 [ 577 ] DEBUG : Stderr: Container roottestattachpartitionusingcopy-gw0-zoo2-1 Removing (cluster.py:147, run_and_check) 2026-04-10 19:37:24.706000 [ 577 ] DEBUG : Stderr: Container roottestattachpartitionusingcopy-gw0-zoo3-1 Stopped (cluster.py:147, run_and_check) 2026-04-10 19:37:24.706000 [ 577 ] DEBUG : Stderr: Container roottestattachpartitionusingcopy-gw0-zoo3-1 Removing (cluster.py:147, run_and_check) 2026-04-10 19:37:24.706000 [ 577 ] DEBUG : Stderr: Container roottestattachpartitionusingcopy-gw0-zoo1-1 Stopped (cluster.py:147, run_and_check) 2026-04-10 19:37:24.706000 [ 577 ] DEBUG : Stderr: Container roottestattachpartitionusingcopy-gw0-zoo1-1 Removing (cluster.py:147, run_and_check) 2026-04-10 19:37:24.706000 [ 577 ] DEBUG : Stderr: Container roottestattachpartitionusingcopy-gw0-zoo2-1 Removed (cluster.py:147, run_and_check) 2026-04-10 19:37:24.706000 [ 577 ] DEBUG : Stderr: Container roottestattachpartitionusingcopy-gw0-zoo3-1 Removed (cluster.py:147, run_and_check) 2026-04-10 19:37:24.706000 [ 577 ] DEBUG : Stderr: Container roottestattachpartitionusingcopy-gw0-zoo1-1 Removed (cluster.py:147, run_and_check) 2026-04-10 19:37:24.706000 [ 577 ] DEBUG : Stderr: Network roottestattachpartitionusingcopy-gw0_default Removing (cluster.py:147, run_and_check) 2026-04-10 19:37:24.706000 [ 577 ] DEBUG : Stderr: Network roottestattachpartitionusingcopy-gw0_default Removed (cluster.py:147, run_and_check) 2026-04-10 19:37:24.706000 [ 577 ] DEBUG : Cleanup called (cluster.py:861, cleanup) 2026-04-10 19:37:24.724000 [ 577 ] DEBUG : Docker networks for project roottestattachpartitionusingcopy-gw0 are NETWORK ID NAME DRIVER SCOPE (cluster.py:840, print_all_docker_pieces) 2026-04-10 19:37:24.742000 [ 577 ] DEBUG : Docker containers for project roottestattachpartitionusingcopy-gw0 are CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES (cluster.py:848, print_all_docker_pieces) 2026-04-10 19:37:24.759000 [ 577 ] DEBUG : Docker volumes for project roottestattachpartitionusingcopy-gw0 are DRIVER VOLUME NAME (cluster.py:856, print_all_docker_pieces) 2026-04-10 19:37:24.760000 [ 577 ] DEBUG : Command:[docker container list --all --filter name='^/roottestattachpartitionusingcopy-gw0-.*-1$' --format '{{.ID}}:{{.Names}}'] (cluster.py:121, run_and_check) 2026-04-10 19:37:24.780000 [ 577 ] DEBUG : Unstopped containers: {} (cluster.py:875, cleanup) 2026-04-10 19:37:24.780000 [ 577 ] DEBUG : No running containers for project: roottestattachpartitionusingcopy-gw0 (cluster.py:889, cleanup) 2026-04-10 19:37:24.780000 [ 577 ] DEBUG : Trying to prune unused networks... (cluster.py:895, cleanup) 2026-04-10 19:37:24.801000 [ 577 ] DEBUG : Trying to prune unused images... (cluster.py:911, cleanup) 2026-04-10 19:37:24.801000 [ 577 ] DEBUG : Command:[docker image prune -f] (cluster.py:121, run_and_check) 2026-04-10 19:37:24.830000 [ 577 ] DEBUG : Stdout:Total reclaimed space: 0B (cluster.py:145, run_and_check) 2026-04-10 19:37:24.830000 [ 577 ] DEBUG : Images pruned (cluster.py:914, cleanup) 2026-04-10 19:37:24.830000 [ 577 ] DEBUG : Trying to prune unused volumes... (cluster.py:920, cleanup) 2026-04-10 19:37:24.830000 [ 577 ] DEBUG : Command:[docker volume ls | wc -l] (cluster.py:121, run_and_check) 2026-04-10 19:37:24.853000 [ 577 ] DEBUG : Stdout:1 (cluster.py:145, run_and_check) 2026-04-10 19:37:24.853000 [ 577 ] DEBUG : Volumes pruned: 1 (cluster.py:925, cleanup) ----------------- generated report log file: parallel0_1.jsonl ----------------- ============================== slowest durations =============================== 169.61s call test_attach_partition_using_copy/test.py::test_only_destination_replicated 169.53s call test_cow_policy/test.py::test_cow_policy[cow_policy_multi_volume] 168.23s call test_attach_partition_using_copy/test.py::test_not_work_on_different_disk 164.89s call test_attach_partition_using_copy/test.py::test_both_mergetree 164.07s call test_attach_partition_using_copy/test.py::test_all_replicated 163.66s call test_cow_policy/test.py::test_cow_policy[cow_policy_multi_disk] 15.85s setup test_attach_partition_using_copy/test.py::test_all_replicated 12.19s setup test_cow_policy/test.py::test_cow_policy[cow_policy_multi_disk] 7.64s teardown test_attach_partition_using_copy/test.py::test_only_destination_replicated 7.14s teardown test_cow_policy/test.py::test_cow_policy[cow_policy_multi_volume] 0.00s teardown test_attach_partition_using_copy/test.py::test_all_replicated 0.00s teardown test_cow_policy/test.py::test_cow_policy[cow_policy_multi_disk] 0.00s setup test_cow_policy/test.py::test_cow_policy[cow_policy_multi_volume] 0.00s setup test_attach_partition_using_copy/test.py::test_both_mergetree 0.00s teardown test_attach_partition_using_copy/test.py::test_not_work_on_different_disk 0.00s teardown test_attach_partition_using_copy/test.py::test_both_mergetree 0.00s setup test_attach_partition_using_copy/test.py::test_only_destination_replicated 0.00s setup test_attach_partition_using_copy/test.py::test_not_work_on_different_disk =========================== short test summary info ============================ FAILED test_cow_policy/test.py::test_cow_policy[cow_policy_multi_disk] - Exce... FAILED test_attach_partition_using_copy/test.py::test_all_replicated - Except... FAILED test_attach_partition_using_copy/test.py::test_both_mergetree - Except... FAILED test_cow_policy/test.py::test_cow_policy[cow_policy_multi_volume] - Ex... FAILED test_attach_partition_using_copy/test.py::test_not_work_on_different_disk FAILED test_attach_partition_using_copy/test.py::test_only_destination_replicated ======================== 6 failed in 693.95s (0:11:33) ========================= Traceback (most recent call last): File "/home/ubuntu/_work/ClickHouse/ClickHouse/tests/integration/./runner", line 492, in subprocess.check_call(cmd, shell=True, bufsize=0) File "/usr/lib/python3.10/subprocess.py", line 369, in check_call raise CalledProcessError(retcode, cmd) subprocess.CalledProcessError: Command 'docker run --rm --name clickhouse_integration_tests_wurdh8 --privileged --dns-search='.' --memory=30709030912 --security-opt seccomp=unconfined --cap-add=SYS_PTRACE --volume=/home/ubuntu/_work/_temp/test/build/clickhouse:/clickhouse --volume=/home/ubuntu/_work/ClickHouse/ClickHouse/programs/server:/clickhouse-config --volume=/home/ubuntu/_work/ClickHouse/ClickHouse/tests/integration:/ClickHouse/tests/integration --volume=/home/ubuntu/_work/ClickHouse/ClickHouse/utils/backupview:/ClickHouse/utils/backupview --volume=/home/ubuntu/_work/ClickHouse/ClickHouse/utils/grpc-client/pb2:/ClickHouse/utils/grpc-client/pb2 --volume=/run:/run/host:ro --volume=clickhouse_integration_tests_volume:/var/lib/docker -e DOCKER_DOTNET_CLIENT_TAG=11de0b29a15d -e DOCKER_HELPER_TAG=5dc43a6382f0 -e DOCKER_BASE_TAG=5ccda723c1fc -e DOCKER_KERBEROS_KDC_TAG=9391ecdee8d7 -e DOCKER_MYSQL_GOLANG_CLIENT_TAG=9bec2a638e6e -e DOCKER_MYSQL_JAVA_CLIENT_TAG=766bff31cfe4 -e DOCKER_MYSQL_JS_CLIENT_TAG=41ba7c2ec2a1 -e DOCKER_MYSQL_PHP_CLIENT_TAG=88be89c1e3b6 -e DOCKER_NGINX_DAV_TAG=b55ac9cd7519 -e DOCKER_POSTGRESQL_JAVA_CLIENT_TAG=a4eff5c7f4d6 -e DOCKER_PYTHON_BOTTLE_TAG=d862517635bf -e DOCKER_CLIENT_TIMEOUT=300 -e COMPOSE_HTTP_TIMEOUT=600 -e PYTHONUNBUFFERED=1 -e PYTEST_ADDOPTS="--dist=loadfile -n 10 -rfEps --run-id=1 --color=no --durations=0 --report-log=parallel0_1.jsonl --report-log-exclude-logs-on-passed-tests test_attach_partition_using_copy/test.py::test_all_replicated test_attach_partition_using_copy/test.py::test_both_mergetree test_attach_partition_using_copy/test.py::test_not_work_on_different_disk test_attach_partition_using_copy/test.py::test_only_destination_replicated 'test_cow_policy/test.py::test_cow_policy[cow_policy_multi_disk]' 'test_cow_policy/test.py::test_cow_policy[cow_policy_multi_volume]' -vvv " altinityinfra/integration-tests-runner:226bfaf75ac1 ' returned non-zero exit status 1.